--- zzzz-none-000/linux-2.6.39.4/arch/x86/include/asm/cacheflush.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/arch/x86/include/asm/cacheflush.h 2021-11-10 13:38:14.000000000 +0000 @@ -59,8 +59,8 @@ } while (cmpxchg(&pg->flags, old_flags, new_flags) != old_flags); } #else -static inline unsigned long get_page_memtype(struct page *pg) { return -1; } -static inline void set_page_memtype(struct page *pg, unsigned long memtype) { } +static inline unsigned long get_page_memtype(struct page *pg __attribute__((unused))) { return -1; } +static inline void set_page_memtype(struct page *pg __attribute__((unused)), unsigned long memtype __attribute__((unused))) { } #endif /*