On Thu, 16 Mar 2017, Andi Kleen wrote: > > --- a/arch/x86/pci/mmconfig-shared.c > > +++ b/arch/x86/pci/mmconfig-shared.c > > @@ -24,6 +24,12 @@ > > > > #define PREFIX "PCI: " > > > > +#ifdef CONFIG_X86_64 > > +# include "mmconfig_64.c" > > +#else > > +# include "mmconfig_32.c" > > +#endif > > This seems like a bad hack. If you want to access something from > multiple files just make it global, don't play preprocessor tricks.
That's a leftover from an earlier iteration of the patches, where including the code made a significant text size difference. Forgot to recheck. With the current version the difference is minimal. I'll drop it. Thanks, tglx