diff options
Diffstat (limited to 'arch/v850')
-rw-r--r-- | arch/v850/Kconfig | 10 | ||||
-rw-r--r-- | arch/v850/kernel/procfs.c | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/v850/Kconfig b/arch/v850/Kconfig index ace479ab273f..7b6d3716efca 100644 --- a/arch/v850/Kconfig +++ b/arch/v850/Kconfig | |||
@@ -53,6 +53,9 @@ config ARCH_HAS_ILOG2_U64 | |||
53 | bool | 53 | bool |
54 | default n | 54 | default n |
55 | 55 | ||
56 | config ARCH_SUPPORTS_AOUT | ||
57 | def_bool y | ||
58 | |||
56 | # Turn off some random 386 crap that can affect device config | 59 | # Turn off some random 386 crap that can affect device config |
57 | config ISA | 60 | config ISA |
58 | bool | 61 | bool |
@@ -212,6 +215,13 @@ menu "Processor type and features" | |||
212 | bool | 215 | bool |
213 | default !V850E_CACHE && !V850E2_CACHE | 216 | default !V850E_CACHE && !V850E2_CACHE |
214 | 217 | ||
218 | # HZ depends on the platform | ||
219 | config HZ | ||
220 | int | ||
221 | default 24 if V850E_SIM || V850E2_SIM85E2 | ||
222 | default 122 if V850E2_FPGA85E2C | ||
223 | default 100 | ||
224 | |||
215 | #### Misc config | 225 | #### Misc config |
216 | 226 | ||
217 | config ROM_KERNEL | 227 | config ROM_KERNEL |
diff --git a/arch/v850/kernel/procfs.c b/arch/v850/kernel/procfs.c index e6f9d060ad5b..e433cde789b4 100644 --- a/arch/v850/kernel/procfs.c +++ b/arch/v850/kernel/procfs.c | |||
@@ -59,7 +59,7 @@ static void cpuinfo_stop (struct seq_file *m, void *v) | |||
59 | { | 59 | { |
60 | } | 60 | } |
61 | 61 | ||
62 | struct seq_operations cpuinfo_op = { | 62 | const struct seq_operations cpuinfo_op = { |
63 | .start = cpuinfo_start, | 63 | .start = cpuinfo_start, |
64 | .next = cpuinfo_next, | 64 | .next = cpuinfo_next, |
65 | .stop = cpuinfo_stop, | 65 | .stop = cpuinfo_stop, |