From: Andrew Morton kernel/signal.c: In function 'print_vma': kernel/signal.c:819: warning: implicit declaration of function 'arch_vma_name' kernel/signal.c:819: warning: initialization makes pointer from integer without a cast Cc: Ingo Molnar Cc: Arjan van de Ven Cc: Gerd Hoffmann Cc: Rusty Russell Cc: Zachary Amsden Signed-off-by: Andrew Morton --- include/asm-i386/page.h | 1 - include/linux/mm.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/asm-i386/page.h~vdso-randomize-the-i386-vdso-by-moving-it-into-a-vma-arch_vma_name-fix include/asm-i386/page.h --- devel/include/asm-i386/page.h~vdso-randomize-the-i386-vdso-by-moving-it-into-a-vma-arch_vma_name-fix 2006-06-09 15:22:03.000000000 -0700 +++ devel-akpm/include/asm-i386/page.h 2006-06-09 15:22:03.000000000 -0700 @@ -108,7 +108,6 @@ extern int sysctl_legacy_va_layout; extern int page_is_ram(unsigned long pagenr); -const char *arch_vma_name(struct vm_area_struct *vma); #endif /* __ASSEMBLY__ */ #ifdef __ASSEMBLY__ diff -puN include/linux/mm.h~vdso-randomize-the-i386-vdso-by-moving-it-into-a-vma-arch_vma_name-fix include/linux/mm.h --- devel/include/linux/mm.h~vdso-randomize-the-i386-vdso-by-moving-it-into-a-vma-arch_vma_name-fix 2006-06-09 15:22:03.000000000 -0700 +++ devel-akpm/include/linux/mm.h 2006-06-09 15:22:03.000000000 -0700 @@ -1073,5 +1073,7 @@ void drop_slab(void); extern int randomize_va_space; #endif +const char *arch_vma_name(struct vm_area_struct *vma); + #endif /* __KERNEL__ */ #endif /* _LINUX_MM_H */ _