um: move sysrq.h out of include/shared
authorAl Viro <viro@ZenIV.linux.org.uk>
Mon, 8 Oct 2012 02:26:54 +0000 (03:26 +0100)
committerRichard Weinberger <richard@nod.at>
Tue, 9 Oct 2012 20:28:19 +0000 (22:28 +0200)
never used by userland-side objects

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/asm/sysrq.h [new file with mode: 0644]
arch/um/include/shared/sysrq.h [deleted file]
arch/um/kernel/sysrq.c
arch/x86/um/sysrq_32.c
arch/x86/um/sysrq_64.c

diff --git a/arch/um/include/asm/sysrq.h b/arch/um/include/asm/sysrq.h
new file mode 100644 (file)
index 0000000..c8d332b
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef __UM_SYSRQ_H
+#define __UM_SYSRQ_H
+
+struct task_struct;
+extern void show_trace(struct task_struct* task, unsigned long *stack);
+
+#endif
diff --git a/arch/um/include/shared/sysrq.h b/arch/um/include/shared/sysrq.h
deleted file mode 100644 (file)
index c8d332b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __UM_SYSRQ_H
-#define __UM_SYSRQ_H
-
-struct task_struct;
-extern void show_trace(struct task_struct* task, unsigned long *stack);
-
-#endif
index 0960de54495abf48e7f290c024cb3877f70e1c69..e562ff80409ab9f72f220ee5db5993ff8ec7ebcf 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/sched.h>
-#include "sysrq.h"
+#include <asm/sysrq.h>
 
 /* Catch non-i386 SUBARCH's. */
 #if !defined(CONFIG_UML_X86) || defined(CONFIG_64BIT)
index 2d5cc51e9bef7c312c7e3837d07e3cde5180d4a0..c9bee5b8c0d3e84e7d42cef757c7c74906514e28 100644 (file)
@@ -3,12 +3,12 @@
  * Licensed under the GPL
  */
 
-#include "linux/kernel.h"
-#include "linux/smp.h"
-#include "linux/sched.h"
-#include "linux/kallsyms.h"
-#include "asm/ptrace.h"
-#include "sysrq.h"
+#include <linux/kernel.h>
+#include <linux/smp.h>
+#include <linux/sched.h>
+#include <linux/kallsyms.h>
+#include <asm/ptrace.h>
+#include <asm/sysrq.h>
 
 /* This is declared by <linux/sched.h> */
 void show_regs(struct pt_regs *regs)
index 08258f17996926de8db8943c4fc1fdccbce38efa..a0e7fb1134a074c292b248eef68f952aba755581 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/utsname.h>
 #include <asm/current.h>
 #include <asm/ptrace.h>
-#include "sysrq.h"
+#include <asm/sysrq.h>
 
 void __show_regs(struct pt_regs *regs)
 {