--- zzzz-none-000/linux-2.6.28.10/include/linux/highmem.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/linux/highmem.h 2009-12-18 12:19:17.000000000 +0000 @@ -14,7 +14,7 @@ #endif #ifndef ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE -static inline void flush_kernel_dcache_page(struct page *page) +static inline void flush_kernel_dcache_page(struct page *page __attribute__((unused))) { } #endif @@ -46,7 +46,7 @@ #include -static inline void *kmap_atomic(struct page *page, enum km_type idx) +static inline void *kmap_atomic(struct page *page, enum km_type idx __attribute__((unused))) { pagefault_disable(); return page_address(page); @@ -89,7 +89,7 @@ */ static inline struct page * __alloc_zeroed_user_highpage(gfp_t movableflags, - struct vm_area_struct *vma, + struct vm_area_struct *vma __attribute__((unused)), unsigned long vaddr) { struct page *page = alloc_page_vma(GFP_HIGHUSER | movableflags, @@ -163,7 +163,7 @@ #ifndef __HAVE_ARCH_COPY_USER_HIGHPAGE static inline void copy_user_highpage(struct page *to, struct page *from, - unsigned long vaddr, struct vm_area_struct *vma) + unsigned long vaddr, struct vm_area_struct *vma __attribute__((unused))) { char *vfrom, *vto;