--- zzzz-none-000/linux-2.6.28.10/include/linux/pagemap.h 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/include/linux/pagemap.h 2011-08-31 13:25:00.000000000 +0000 @@ -56,9 +56,9 @@ return !!mapping; } #else -static inline void mapping_set_unevictable(struct address_space *mapping) { } -static inline void mapping_clear_unevictable(struct address_space *mapping) { } -static inline int mapping_unevictable(struct address_space *mapping) +static inline void mapping_set_unevictable(struct address_space *mapping __attribute__((unused))) { } +static inline void mapping_clear_unevictable(struct address_space *mapping __attribute__((unused))) { } +static inline int mapping_unevictable(struct address_space *mapping __attribute__((unused))) { return 0; } @@ -417,7 +417,7 @@ static inline int fault_in_pages_readable(const char __user *uaddr, int size) { - volatile char c; + volatile char c __attribute__ ((unused)); int ret; if (unlikely(size == 0))