diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 8 | ||||
-rw-r--r-- | arch/mips/Kconfig.debug | 9 | ||||
-rw-r--r-- | arch/mips/configs/bcm47xx_defconfig | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/prom.h | 3 | ||||
-rw-r--r-- | arch/mips/include/asm/suspend.h | 2 | ||||
-rw-r--r-- | arch/mips/kernel/prom.c | 3 | ||||
-rw-r--r-- | arch/mips/kernel/vmlinux.lds.S | 2 | ||||
-rw-r--r-- | arch/mips/mm/init.c | 2 |
8 files changed, 3 insertions, 27 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index cef1a854487d..653da62d0682 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -821,14 +821,6 @@ config ARCH_SUPPORTS_OPROFILE | |||
821 | bool | 821 | bool |
822 | default y if !MIPS_MT_SMTC | 822 | default y if !MIPS_MT_SMTC |
823 | 823 | ||
824 | config GENERIC_FIND_NEXT_BIT | ||
825 | bool | ||
826 | default y | ||
827 | |||
828 | config GENERIC_FIND_BIT_LE | ||
829 | bool | ||
830 | default y | ||
831 | |||
832 | config GENERIC_HWEIGHT | 824 | config GENERIC_HWEIGHT |
833 | bool | 825 | bool |
834 | default y | 826 | default y |
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 5358f90b4dd2..83ed00a5644a 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug | |||
@@ -76,15 +76,6 @@ config DEBUG_STACKOVERFLOW | |||
76 | provides another way to check stack overflow happened on kernel mode | 76 | provides another way to check stack overflow happened on kernel mode |
77 | stack usually caused by nested interruption. | 77 | stack usually caused by nested interruption. |
78 | 78 | ||
79 | config DEBUG_STACK_USAGE | ||
80 | bool "Enable stack utilization instrumentation" | ||
81 | depends on DEBUG_KERNEL | ||
82 | help | ||
83 | Enables the display of the minimum amount of free stack which each | ||
84 | task has ever had available in the sysrq-T and sysrq-P debug output. | ||
85 | |||
86 | This option will slow down process creation somewhat. | ||
87 | |||
88 | config SMTC_IDLE_HOOK_DEBUG | 79 | config SMTC_IDLE_HOOK_DEBUG |
89 | bool "Enable additional debug checks before going into CPU idle loop" | 80 | bool "Enable additional debug checks before going into CPU idle loop" |
90 | depends on DEBUG_KERNEL && MIPS_MT_SMTC | 81 | depends on DEBUG_KERNEL && MIPS_MT_SMTC |
diff --git a/arch/mips/configs/bcm47xx_defconfig b/arch/mips/configs/bcm47xx_defconfig index 22fdf2f0cc23..ad15fb10322b 100644 --- a/arch/mips/configs/bcm47xx_defconfig +++ b/arch/mips/configs/bcm47xx_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_TASK_IO_ACCOUNTING=y | |||
16 | CONFIG_AUDIT=y | 16 | CONFIG_AUDIT=y |
17 | CONFIG_TINY_RCU=y | 17 | CONFIG_TINY_RCU=y |
18 | CONFIG_CGROUPS=y | 18 | CONFIG_CGROUPS=y |
19 | CONFIG_CGROUP_NS=y | ||
20 | CONFIG_CGROUP_CPUACCT=y | 19 | CONFIG_CGROUP_CPUACCT=y |
21 | CONFIG_RELAY=y | 20 | CONFIG_RELAY=y |
22 | CONFIG_BLK_DEV_INITRD=y | 21 | CONFIG_BLK_DEV_INITRD=y |
diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h index f29b862d9db3..857d9b7858ad 100644 --- a/arch/mips/include/asm/prom.h +++ b/arch/mips/include/asm/prom.h | |||
@@ -14,9 +14,6 @@ | |||
14 | #ifdef CONFIG_OF | 14 | #ifdef CONFIG_OF |
15 | #include <asm/bootinfo.h> | 15 | #include <asm/bootinfo.h> |
16 | 16 | ||
17 | /* which is compatible with the flattened device tree (FDT) */ | ||
18 | #define cmd_line arcs_cmdline | ||
19 | |||
20 | extern int early_init_dt_scan_memory_arch(unsigned long node, | 17 | extern int early_init_dt_scan_memory_arch(unsigned long node, |
21 | const char *uname, int depth, void *data); | 18 | const char *uname, int depth, void *data); |
22 | 19 | ||
diff --git a/arch/mips/include/asm/suspend.h b/arch/mips/include/asm/suspend.h index 294cdb66c5fc..3adac3b53d19 100644 --- a/arch/mips/include/asm/suspend.h +++ b/arch/mips/include/asm/suspend.h | |||
@@ -1,8 +1,6 @@ | |||
1 | #ifndef __ASM_SUSPEND_H | 1 | #ifndef __ASM_SUSPEND_H |
2 | #define __ASM_SUSPEND_H | 2 | #define __ASM_SUSPEND_H |
3 | 3 | ||
4 | static inline int arch_prepare_suspend(void) { return 0; } | ||
5 | |||
6 | /* References to section boundaries */ | 4 | /* References to section boundaries */ |
7 | extern const void __nosave_begin, __nosave_end; | 5 | extern const void __nosave_begin, __nosave_end; |
8 | 6 | ||
diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index a19811e98a41..5b7eade41fa3 100644 --- a/arch/mips/kernel/prom.c +++ b/arch/mips/kernel/prom.c | |||
@@ -83,7 +83,8 @@ void __init early_init_devtree(void *params) | |||
83 | * device-tree, including the platform type, initrd location and | 83 | * device-tree, including the platform type, initrd location and |
84 | * size, and more ... | 84 | * size, and more ... |
85 | */ | 85 | */ |
86 | of_scan_flat_dt(early_init_dt_scan_chosen, NULL); | 86 | of_scan_flat_dt(early_init_dt_scan_chosen, arcs_cmdline); |
87 | |||
87 | 88 | ||
88 | /* Scan memory nodes */ | 89 | /* Scan memory nodes */ |
89 | of_scan_flat_dt(early_init_dt_scan_root, NULL); | 90 | of_scan_flat_dt(early_init_dt_scan_root, NULL); |
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index 01af3876cf90..a81176f44c74 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S | |||
@@ -118,7 +118,7 @@ SECTIONS | |||
118 | EXIT_DATA | 118 | EXIT_DATA |
119 | } | 119 | } |
120 | 120 | ||
121 | PERCPU(1 << CONFIG_MIPS_L1_CACHE_SHIFT, PAGE_SIZE) | 121 | PERCPU_SECTION(1 << CONFIG_MIPS_L1_CACHE_SHIFT) |
122 | . = ALIGN(PAGE_SIZE); | 122 | . = ALIGN(PAGE_SIZE); |
123 | __init_end = .; | 123 | __init_end = .; |
124 | /* freed after init ends here */ | 124 | /* freed after init ends here */ |
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 279599e9a779..1aadeb42c5a5 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c | |||
@@ -64,8 +64,6 @@ | |||
64 | 64 | ||
65 | #endif /* CONFIG_MIPS_MT_SMTC */ | 65 | #endif /* CONFIG_MIPS_MT_SMTC */ |
66 | 66 | ||
67 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | ||
68 | |||
69 | /* | 67 | /* |
70 | * We have up to 8 empty zeroed pages so we can map one of the right colour | 68 | * We have up to 8 empty zeroed pages so we can map one of the right colour |
71 | * when needed. This is necessary only on R4000 / R4400 SC and MC versions | 69 | * when needed. This is necessary only on R4000 / R4400 SC and MC versions |