diff options
Diffstat (limited to 'arch/parisc/kernel/setup.c')
-rw-r--r-- | arch/parisc/kernel/setup.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c index 72a3c658ad7b..f7ea626e29c9 100644 --- a/arch/parisc/kernel/setup.c +++ b/arch/parisc/kernel/setup.c | |||
@@ -130,7 +130,16 @@ void __init setup_arch(char **cmdline_p) | |||
130 | printk(KERN_INFO "The 32-bit Kernel has started...\n"); | 130 | printk(KERN_INFO "The 32-bit Kernel has started...\n"); |
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | printk(KERN_INFO "Default page size is %dKB.\n", (int)(PAGE_SIZE / 1024)); | 133 | printk(KERN_INFO "Kernel default page size is %d KB. Huge pages ", |
134 | (int)(PAGE_SIZE / 1024)); | ||
135 | #ifdef CONFIG_HUGETLB_PAGE | ||
136 | printk(KERN_CONT "enabled with %d MB physical and %d MB virtual size", | ||
137 | 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); | ||
138 | #else | ||
139 | printk(KERN_CONT "disabled"); | ||
140 | #endif | ||
141 | printk(KERN_CONT ".\n"); | ||
142 | |||
134 | 143 | ||
135 | pdc_console_init(); | 144 | pdc_console_init(); |
136 | 145 | ||
@@ -377,6 +386,7 @@ arch_initcall(parisc_init); | |||
377 | void start_parisc(void) | 386 | void start_parisc(void) |
378 | { | 387 | { |
379 | extern void start_kernel(void); | 388 | extern void start_kernel(void); |
389 | extern void early_trap_init(void); | ||
380 | 390 | ||
381 | int ret, cpunum; | 391 | int ret, cpunum; |
382 | struct pdc_coproc_cfg coproc_cfg; | 392 | struct pdc_coproc_cfg coproc_cfg; |
@@ -397,6 +407,8 @@ void start_parisc(void) | |||
397 | panic("must have an fpu to boot linux"); | 407 | panic("must have an fpu to boot linux"); |
398 | } | 408 | } |
399 | 409 | ||
410 | early_trap_init(); /* initialize checksum of fault_vector */ | ||
411 | |||
400 | start_kernel(); | 412 | start_kernel(); |
401 | // not reached | 413 | // not reached |
402 | } | 414 | } |