Rev 452 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 452 | Rev 458 | ||
---|---|---|---|
Line 73... | Line 73... | ||
73 | i8259_init(); /* PIC */ |
73 | i8259_init(); /* PIC */ |
74 | i8254_init(); /* hard clock */ |
74 | i8254_init(); /* hard clock */ |
75 | 75 | ||
76 | trap_register(VECTOR_SYSCALL, syscall); |
76 | trap_register(VECTOR_SYSCALL, syscall); |
77 | 77 | ||
78 | #ifdef __SMP__ |
78 | #ifdef CONFIG_SMP |
79 | trap_register(VECTOR_TLB_SHOOTDOWN_IPI, tlb_shootdown_ipi); |
79 | trap_register(VECTOR_TLB_SHOOTDOWN_IPI, tlb_shootdown_ipi); |
80 | trap_register(VECTOR_WAKEUP_IPI, wakeup_ipi); |
80 | trap_register(VECTOR_WAKEUP_IPI, wakeup_ipi); |
81 | #endif /* __SMP__ */ |
81 | #endif /* CONFIG_SMP */ |
82 | } |
82 | } |
83 | } |
83 | } |
84 | 84 | ||
85 | void arch_post_mm_init(void) |
85 | void arch_post_mm_init(void) |
86 | { |
86 | { |
Line 92... | Line 92... | ||
92 | void arch_late_init(void) |
92 | void arch_late_init(void) |
93 | { |
93 | { |
94 | if (config.cpu_active == 1) { |
94 | if (config.cpu_active == 1) { |
95 | memory_print_map(); |
95 | memory_print_map(); |
96 | 96 | ||
97 | #ifdef __SMP__ |
97 | #ifdef CONFIG_SMP |
98 | acpi_init(); |
98 | acpi_init(); |
99 | #endif /* __SMP__ */ |
99 | #endif /* CONFIG_SMP */ |
100 | } |
100 | } |
101 | } |
101 | } |
102 | 102 | ||
103 | void calibrate_delay_loop(void) |
103 | void calibrate_delay_loop(void) |
104 | { |
104 | { |