Title: [8200] trunk/arch/blackfin/kernel/traps.c: bug [#5818], for BUS/SEGV signals, data address should be returned
Revision
8200
Author
bhsong
Date
2010-01-19 21:20:05 -0500 (Tue, 19 Jan 2010)

Log Message

bug [#5818], for BUS/SEGV signals, data address should be returned
if fault happens due to data access

fix possible compiling error

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/traps.c (8199 => 8200)


--- trunk/arch/blackfin/kernel/traps.c	2010-01-20 00:01:26 UTC (rev 8199)
+++ trunk/arch/blackfin/kernel/traps.c	2010-01-20 02:20:05 UTC (rev 8200)
@@ -257,9 +257,7 @@
 #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON
 	int j;
 #endif
-#ifdef CONFIG_DEBUG_HUNT_FOR_ZERO
 	unsigned int cpu = raw_smp_processor_id();
-#endif
 	const char *strerror = NULL;
 	int sig = 0;
 	siginfo_t info;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to