From: "Wu, Bryan" As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. Signed-off-by: Bryan Wu Signed-off-by: Andrew Morton --- kernel/signal.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN kernel/signal.c~vdso-print-fatal-signals-fix-compiling-error-bug-in kernel/signal.c --- a/kernel/signal.c~vdso-print-fatal-signals-fix-compiling-error-bug-in +++ a/kernel/signal.c @@ -825,7 +825,11 @@ static void pad_len_spaces(int len) static int print_vma(struct vm_area_struct *vma) { +#ifdef CONFIG_MMU struct mm_struct *mm = vma->vm_mm; +#else + struct mm_struct *mm = 0; +#endif struct file *file = vma->vm_file; int flags = vma->vm_flags; unsigned long ino = 0; _