--- zzzz-none-000/linux-2.6.39.4/arch/x86/include/asm/e820.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/arch/x86/include/asm/e820.h 2021-11-10 13:38:14.000000000 +0000 @@ -102,7 +102,7 @@ (defined(CONFIG_X86_32) && defined(CONFIG_HIBERNATION)) extern void e820_mark_nosave_regions(unsigned long limit_pfn); #else -static inline void e820_mark_nosave_regions(unsigned long limit_pfn) +static inline void e820_mark_nosave_regions(unsigned long limit_pfn __attribute__((unused))) { } #endif @@ -110,7 +110,7 @@ #ifdef CONFIG_MEMTEST extern void early_memtest(unsigned long start, unsigned long end); #else -static inline void early_memtest(unsigned long start, unsigned long end) +static inline void early_memtest(unsigned long start __attribute__((unused)), unsigned long end __attribute__((unused))) { } #endif