On Wed, Nov 11, 2026 at 04:44:38PM -0700, Pavel Popov wrote: > cpu_supports_p2pdma() has an #ifdef CONFIG_X86 block inside the > function body. Put the whole function under #ifdef CONFIG_X86 instead, > with a stub returning false for !CONFIG_X86. > > No functional change. > > Suggested-by: Logan Gunthorpe <[email protected]> > Signed-off-by: Pavel Popov <[email protected]> > --- > drivers/pci/p2pdma.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) >
Thanks, Reviewed-by: Leon Romanovsky <[email protected]>
