--- zzzz-none-000/linux-2.6.28.10/include/linux/gfp.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/linux/gfp.h 2009-10-14 11:28:36.000000000 +0000 @@ -161,16 +161,16 @@ * For the normal case of non-DISCONTIGMEM systems the NODE_DATA() gets * optimized to &contig_page_data at compile-time. */ -static inline struct zonelist *node_zonelist(int nid, gfp_t flags) +static inline struct zonelist *node_zonelist(int nid __attribute__ ((unused)), gfp_t flags) { return NODE_DATA(nid)->node_zonelists + gfp_zonelist(flags); } #ifndef HAVE_ARCH_FREE_PAGE -static inline void arch_free_page(struct page *page, int order) { } +static inline void arch_free_page(struct page *page __attribute__ ((unused)), int order __attribute__ ((unused))) { } #endif #ifndef HAVE_ARCH_ALLOC_PAGE -static inline void arch_alloc_page(struct page *page, int order) { } +static inline void arch_alloc_page(struct page *page __attribute__ ((unused)), int order __attribute__ ((unused))) { } #endif struct page *