aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/Kconfig6
-rw-r--r--arch/sh/kernel/process.c6
-rw-r--r--arch/sh/kernel/signal.c2
3 files changed, 6 insertions, 8 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 3468d5127223..adc8109f8b77 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -486,7 +486,7 @@ config CPU_SUBTYPE_ST40
486 depends on CPU_SUBTYPE_ST40STB1 || CPU_SUBTYPE_ST40GX1 486 depends on CPU_SUBTYPE_ST40STB1 || CPU_SUBTYPE_ST40GX1
487 default y 487 default y
488 488
489config DISCONTIGMEM 489config ARCH_DISCONTIGMEM_ENABLE
490 bool 490 bool
491 depends on SH_HP690 491 depends on SH_HP690
492 default y 492 default y
@@ -496,6 +496,8 @@ config DISCONTIGMEM
496 or have huge holes in the physical address space for other reasons. 496 or have huge holes in the physical address space for other reasons.
497 See <file:Documentation/vm/numa> for more. 497 See <file:Documentation/vm/numa> for more.
498 498
499source "mm/Kconfig"
500
499config ZERO_PAGE_OFFSET 501config ZERO_PAGE_OFFSET
500 hex "Zero page offset" 502 hex "Zero page offset"
501 default "0x00001000" if !(SH_MPC1211 || SH_SH03) 503 default "0x00001000" if !(SH_MPC1211 || SH_SH03)
@@ -782,6 +784,8 @@ config EMBEDDED_RAMDISK_IMAGE
782 784
783endmenu 785endmenu
784 786
787source "net/Kconfig"
788
785source "drivers/Kconfig" 789source "drivers/Kconfig"
786 790
787source "fs/Kconfig" 791source "fs/Kconfig"
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 3d024590c24e..6dce9d0b81f8 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -80,8 +80,6 @@ void machine_restart(char * __unused)
80 "mov.l @%1, %0" : : "r" (0x10000000), "r" (0x80000001)); 80 "mov.l @%1, %0" : : "r" (0x10000000), "r" (0x80000001));
81} 81}
82 82
83EXPORT_SYMBOL(machine_restart);
84
85void machine_halt(void) 83void machine_halt(void)
86{ 84{
87#if defined(CONFIG_SH_HS7751RVOIP) 85#if defined(CONFIG_SH_HS7751RVOIP)
@@ -96,8 +94,6 @@ void machine_halt(void)
96 cpu_sleep(); 94 cpu_sleep();
97} 95}
98 96
99EXPORT_SYMBOL(machine_halt);
100
101void machine_power_off(void) 97void machine_power_off(void)
102{ 98{
103#if defined(CONFIG_SH_HS7751RVOIP) 99#if defined(CONFIG_SH_HS7751RVOIP)
@@ -110,8 +106,6 @@ void machine_power_off(void)
110#endif 106#endif
111} 107}
112 108
113EXPORT_SYMBOL(machine_power_off);
114
115void show_regs(struct pt_regs * regs) 109void show_regs(struct pt_regs * regs)
116{ 110{
117 printk("\n"); 111 printk("\n");
diff --git a/arch/sh/kernel/signal.c b/arch/sh/kernel/signal.c
index 06f1b47eded9..8022243f0178 100644
--- a/arch/sh/kernel/signal.c
+++ b/arch/sh/kernel/signal.c
@@ -579,7 +579,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset)
579 if (!user_mode(regs)) 579 if (!user_mode(regs))
580 return 1; 580 return 1;
581 581
582 if (try_to_freeze(0)) 582 if (try_to_freeze())
583 goto no_signal; 583 goto no_signal;
584 584
585 if (!oldset) 585 if (!oldset)