diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/Kconfig | 6 | ||||
-rw-r--r-- | arch/sh/kernel/process.c | 6 | ||||
-rw-r--r-- | arch/sh/kernel/signal.c | 2 |
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 | ||
489 | config DISCONTIGMEM | 489 | config 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 | ||
499 | source "mm/Kconfig" | ||
500 | |||
499 | config ZERO_PAGE_OFFSET | 501 | config 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 | ||
783 | endmenu | 785 | endmenu |
784 | 786 | ||
787 | source "net/Kconfig" | ||
788 | |||
785 | source "drivers/Kconfig" | 789 | source "drivers/Kconfig" |
786 | 790 | ||
787 | source "fs/Kconfig" | 791 | source "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 | ||
83 | EXPORT_SYMBOL(machine_restart); | ||
84 | |||
85 | void machine_halt(void) | 83 | void 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 | ||
99 | EXPORT_SYMBOL(machine_halt); | ||
100 | |||
101 | void machine_power_off(void) | 97 | void 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 | ||
113 | EXPORT_SYMBOL(machine_power_off); | ||
114 | |||
115 | void show_regs(struct pt_regs * regs) | 109 | void 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) |