[PATCH F-16] bz735118: utrace: s390: fix the compile problem with traps.c

Oleg Nesterov oleg at redhat.com
Thu Sep 1 18:10:53 UTC 2011


https://bugzilla.redhat.com/show_bug.cgi?id=735118

d99e60e5 "tracehooks: reintroduce tracehook_consider_fatal_signal()"
breaks the compilation of arch/s390/kernel/traps.c. Restore the
necessary include removed by upstream 73b7d40f commit.

Signed-off-by: Oleg Nesterov <oleg at redhat.com>
---
 arch/s390/kernel/traps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c
index 1018ab6..50e975d 100644
--- a/arch/s390/kernel/traps.c
+++ b/arch/s390/kernel/traps.c
@@ -18,7 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/errno.h>
-#include <linux/ptrace.h>
+#include <linux/tracehook.h>
 #include <linux/timer.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
-- 
1.5.5.1




More information about the kernel mailing list