+ vdso-print-fatal-signals-fix-compiling-error-bug-in.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     vdso print fatal signals: fix compiling error bug in nommu arch
has been added to the -mm tree.  Its filename is
     vdso-print-fatal-signals-fix-compiling-error-bug-in.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: vdso print fatal signals: fix compiling error bug in nommu arch
From: "Wu, Bryan" <bryan.wu@xxxxxxxxxx>

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 <bryan.wu@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/signal.c |    4 ++++
 1 files 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
@@ -807,7 +807,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;
_

Patches currently in -mm which might be from bryan.wu@xxxxxxxxxx are

blackfin-Documentation.patch
blackfin-arch.patch
blackfin-arch-balance-parenthesis-in-macros.patch
blackfin-arch-2.6.21-rc4-mm1-update.patch
driver_bfin_serial_core.patch
driver_bfin_serial_core-update.patch
blackfin-on-chip-ethernet-mac-controller-driver.patch
blackfin-on-chip-ethernet-mac-controller-driver-update.patch
blackfin-patch-add-blackfin-support-in-smc91x.patch
blackfin-on-chip-rtc-controller-driver.patch
blackfin-blackfin-on-chip-spi-controller-driver.patch
blackfin-arch-fix-struct-dmasg-packing-bug.patch
blackfin-arch-cleanup-cache-header-file.patch
blackfin-arch-fix-reboot-kernel-mounting-spi-flash.patch
blackfin-arch-fix-compiling-error-in-flat-c-file.patch
blackfin-arch-power-management-replace-firmware-disk.patch
blackfin-arch-add-kdebug-header-file.patch
blackfin-rtc-fix-rtc_update_irq-augument.patch
blackfin-spi-driver-cleanup-and-coding-style-fixing.patch
blackfin-spi-driver-fix-reboot-kernel-mounting-spi.patch
blackfin-blackfin-utrace-patch.patch
utrace-nommu-fixup-support-utrace.patch
vdso-print-fatal-signals-fix-compiling-error-bug-in.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux