Commit 382d95fdfa7ff5c54f6495c597c7cf6d124e404b

Authored by Al Viro
Committed by Richard Weinberger
1 parent 8813f67439

um: move sysrq.h out of include/shared

never used by userland-side objects

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

Showing 5 changed files with 15 additions and 15 deletions Side-by-side Diff

arch/um/include/asm/sysrq.h
  1 +#ifndef __UM_SYSRQ_H
  2 +#define __UM_SYSRQ_H
  3 +
  4 +struct task_struct;
  5 +extern void show_trace(struct task_struct* task, unsigned long *stack);
  6 +
  7 +#endif
arch/um/include/shared/sysrq.h
1   -#ifndef __UM_SYSRQ_H
2   -#define __UM_SYSRQ_H
3   -
4   -struct task_struct;
5   -extern void show_trace(struct task_struct* task, unsigned long *stack);
6   -
7   -#endif
arch/um/kernel/sysrq.c
... ... @@ -7,7 +7,7 @@
7 7 #include <linux/kernel.h>
8 8 #include <linux/module.h>
9 9 #include <linux/sched.h>
10   -#include "sysrq.h"
  10 +#include <asm/sysrq.h>
11 11  
12 12 /* Catch non-i386 SUBARCH's. */
13 13 #if !defined(CONFIG_UML_X86) || defined(CONFIG_64BIT)
arch/x86/um/sysrq_32.c
... ... @@ -3,12 +3,12 @@
3 3 * Licensed under the GPL
4 4 */
5 5  
6   -#include "linux/kernel.h"
7   -#include "linux/smp.h"
8   -#include "linux/sched.h"
9   -#include "linux/kallsyms.h"
10   -#include "asm/ptrace.h"
11   -#include "sysrq.h"
  6 +#include <linux/kernel.h>
  7 +#include <linux/smp.h>
  8 +#include <linux/sched.h>
  9 +#include <linux/kallsyms.h>
  10 +#include <asm/ptrace.h>
  11 +#include <asm/sysrq.h>
12 12  
13 13 /* This is declared by <linux/sched.h> */
14 14 void show_regs(struct pt_regs *regs)
arch/x86/um/sysrq_64.c
... ... @@ -10,7 +10,7 @@
10 10 #include <linux/utsname.h>
11 11 #include <asm/current.h>
12 12 #include <asm/ptrace.h>
13   -#include "sysrq.h"
  13 +#include <asm/sysrq.h>
14 14  
15 15 void __show_regs(struct pt_regs *regs)
16 16 {