diff options
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 4 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 5 | ||||
-rw-r--r-- | arch/ppc/kernel/setup.c | 4 | ||||
-rw-r--r-- | include/asm-h8300/keyboard.h | 8 | ||||
-rw-r--r-- | include/asm-sh/ec3104/keyboard.h | 2 | ||||
-rw-r--r-- | include/asm-sh/mpc1211/keyboard.h | 4 | ||||
-rw-r--r-- | include/asm-sh64/keyboard.h | 4 |
7 files changed, 0 insertions, 31 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index e0df2ba1ab9f..79a17795d17b 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -67,10 +67,6 @@ int have_of = 1; | |||
67 | dev_t boot_dev; | 67 | dev_t boot_dev; |
68 | #endif /* CONFIG_PPC_MULTIPLATFORM */ | 68 | #endif /* CONFIG_PPC_MULTIPLATFORM */ |
69 | 69 | ||
70 | #ifdef CONFIG_MAGIC_SYSRQ | ||
71 | unsigned long SYSRQ_KEY = 0x54; | ||
72 | #endif /* CONFIG_MAGIC_SYSRQ */ | ||
73 | |||
74 | #ifdef CONFIG_VGA_CONSOLE | 70 | #ifdef CONFIG_VGA_CONSOLE |
75 | unsigned long vgacon_remap_base; | 71 | unsigned long vgacon_remap_base; |
76 | #endif | 72 | #endif |
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 00d6b8addd78..962ad5ebc767 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -93,11 +93,6 @@ int dcache_bsize; | |||
93 | int icache_bsize; | 93 | int icache_bsize; |
94 | int ucache_bsize; | 94 | int ucache_bsize; |
95 | 95 | ||
96 | #ifdef CONFIG_MAGIC_SYSRQ | ||
97 | unsigned long SYSRQ_KEY; | ||
98 | #endif /* CONFIG_MAGIC_SYSRQ */ | ||
99 | |||
100 | |||
101 | #ifdef CONFIG_SMP | 96 | #ifdef CONFIG_SMP |
102 | 97 | ||
103 | static int smt_enabled_cmdline; | 98 | static int smt_enabled_cmdline; |
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index 5458ac5da7c3..75fe13815be2 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -86,10 +86,6 @@ int ppc_do_canonicalize_irqs; | |||
86 | EXPORT_SYMBOL(ppc_do_canonicalize_irqs); | 86 | EXPORT_SYMBOL(ppc_do_canonicalize_irqs); |
87 | #endif | 87 | #endif |
88 | 88 | ||
89 | #ifdef CONFIG_MAGIC_SYSRQ | ||
90 | unsigned long SYSRQ_KEY = 0x54; | ||
91 | #endif /* CONFIG_MAGIC_SYSRQ */ | ||
92 | |||
93 | #ifdef CONFIG_VGA_CONSOLE | 89 | #ifdef CONFIG_VGA_CONSOLE |
94 | unsigned long vgacon_remap_base; | 90 | unsigned long vgacon_remap_base; |
95 | #endif | 91 | #endif |
diff --git a/include/asm-h8300/keyboard.h b/include/asm-h8300/keyboard.h index fbad65e8a5c0..90efbd655390 100644 --- a/include/asm-h8300/keyboard.h +++ b/include/asm-h8300/keyboard.h | |||
@@ -18,14 +18,6 @@ | |||
18 | #define kbd_enable_irq(x...) do {;} while (0) | 18 | #define kbd_enable_irq(x...) do {;} while (0) |
19 | #define kbd_disable_irq(x...) do {;} while (0) | 19 | #define kbd_disable_irq(x...) do {;} while (0) |
20 | 20 | ||
21 | |||
22 | /* needed if MAGIC_SYSRQ is enabled for serial console */ | ||
23 | #ifndef SYSRQ_KEY | ||
24 | #define SYSRQ_KEY ((unsigned char)(-1)) | ||
25 | #define kbd_sysrq_xlate ((unsigned char *)NULL) | ||
26 | #endif | ||
27 | |||
28 | |||
29 | #endif /* _H8300_KEYBOARD_H */ | 21 | #endif /* _H8300_KEYBOARD_H */ |
30 | 22 | ||
31 | 23 | ||
diff --git a/include/asm-sh/ec3104/keyboard.h b/include/asm-sh/ec3104/keyboard.h index 0dee7b05b49d..c1253a683197 100644 --- a/include/asm-sh/ec3104/keyboard.h +++ b/include/asm-sh/ec3104/keyboard.h | |||
@@ -6,8 +6,6 @@ extern char ec3104_kbd_unexpected_up(unsigned char); | |||
6 | extern void ec3104_kbd_leds(unsigned char); | 6 | extern void ec3104_kbd_leds(unsigned char); |
7 | extern void ec3104_kbd_init_hw(void); | 7 | extern void ec3104_kbd_init_hw(void); |
8 | 8 | ||
9 | #define SYSRQ_KEY 0x54 | ||
10 | |||
11 | #define kbd_sysrq_xlate ec3104_kbd_sysrq_xlate | 9 | #define kbd_sysrq_xlate ec3104_kbd_sysrq_xlate |
12 | #define kbd_setkeycode ec3104_kbd_setkeycode | 10 | #define kbd_setkeycode ec3104_kbd_setkeycode |
13 | #define kbd_getkeycode ec3104_kbd_getkeycode | 11 | #define kbd_getkeycode ec3104_kbd_getkeycode |
diff --git a/include/asm-sh/mpc1211/keyboard.h b/include/asm-sh/mpc1211/keyboard.h index 71ef4cf4242d..9020feee7b4c 100644 --- a/include/asm-sh/mpc1211/keyboard.h +++ b/include/asm-sh/mpc1211/keyboard.h | |||
@@ -24,7 +24,6 @@ extern void pckbd_leds(unsigned char leds); | |||
24 | extern void pckbd_init_hw(void); | 24 | extern void pckbd_init_hw(void); |
25 | extern int pckbd_pm_resume(struct pm_dev *, pm_request_t, void *); | 25 | extern int pckbd_pm_resume(struct pm_dev *, pm_request_t, void *); |
26 | extern pm_callback pm_kbd_request_override; | 26 | extern pm_callback pm_kbd_request_override; |
27 | extern unsigned char pckbd_sysrq_xlate[128]; | ||
28 | 27 | ||
29 | #define kbd_setkeycode pckbd_setkeycode | 28 | #define kbd_setkeycode pckbd_setkeycode |
30 | #define kbd_getkeycode pckbd_getkeycode | 29 | #define kbd_getkeycode pckbd_getkeycode |
@@ -32,9 +31,6 @@ extern unsigned char pckbd_sysrq_xlate[128]; | |||
32 | #define kbd_unexpected_up pckbd_unexpected_up | 31 | #define kbd_unexpected_up pckbd_unexpected_up |
33 | #define kbd_leds pckbd_leds | 32 | #define kbd_leds pckbd_leds |
34 | #define kbd_init_hw pckbd_init_hw | 33 | #define kbd_init_hw pckbd_init_hw |
35 | #define kbd_sysrq_xlate pckbd_sysrq_xlate | ||
36 | |||
37 | #define SYSRQ_KEY 0x54 | ||
38 | 34 | ||
39 | /* resource allocation */ | 35 | /* resource allocation */ |
40 | #define kbd_request_region() | 36 | #define kbd_request_region() |
diff --git a/include/asm-sh64/keyboard.h b/include/asm-sh64/keyboard.h index 1fab96d792bf..0b01c3beb2f8 100644 --- a/include/asm-sh64/keyboard.h +++ b/include/asm-sh64/keyboard.h | |||
@@ -30,7 +30,6 @@ extern int pckbd_translate(unsigned char scancode, unsigned char *keycode, | |||
30 | extern char pckbd_unexpected_up(unsigned char keycode); | 30 | extern char pckbd_unexpected_up(unsigned char keycode); |
31 | extern void pckbd_leds(unsigned char leds); | 31 | extern void pckbd_leds(unsigned char leds); |
32 | extern void pckbd_init_hw(void); | 32 | extern void pckbd_init_hw(void); |
33 | extern unsigned char pckbd_sysrq_xlate[128]; | ||
34 | 33 | ||
35 | #define kbd_setkeycode pckbd_setkeycode | 34 | #define kbd_setkeycode pckbd_setkeycode |
36 | #define kbd_getkeycode pckbd_getkeycode | 35 | #define kbd_getkeycode pckbd_getkeycode |
@@ -38,9 +37,6 @@ extern unsigned char pckbd_sysrq_xlate[128]; | |||
38 | #define kbd_unexpected_up pckbd_unexpected_up | 37 | #define kbd_unexpected_up pckbd_unexpected_up |
39 | #define kbd_leds pckbd_leds | 38 | #define kbd_leds pckbd_leds |
40 | #define kbd_init_hw pckbd_init_hw | 39 | #define kbd_init_hw pckbd_init_hw |
41 | #define kbd_sysrq_xlate pckbd_sysrq_xlate | ||
42 | |||
43 | #define SYSRQ_KEY 0x54 | ||
44 | 40 | ||
45 | /* resource allocation */ | 41 | /* resource allocation */ |
46 | #define kbd_request_region() | 42 | #define kbd_request_region() |