--- zzzz-none-000/linux-2.6.32.61/include/linux/gfp.h 2013-06-10 09:43:48.000000000 +0000 +++ ar9-7330-650/linux-2.6.32.61/include/linux/gfp.h 2010-07-16 10:24:07.000000000 +0000 @@ -253,16 +253,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 *