linux-stable/arch
Eric W. Biederman f2b36db692 [PATCH] i386: move apic init in init_IRQs
All kinds of ugliness exists because we don't initialize
the apics during init_IRQs.
- We calibrate jiffies in non apic mode even when we are using apics.
- We have to have special code to initialize the apics when non-smp.
- The legacy i8259 must exist and be setup correctly, even
  when we won't use it past initialization.
- The kexec on panic code must restore the state of the io_apics.
- init/main.c needs a special case for !smp smp_init on x86

In addition to pure code movement I needed a couple
of non-obvious changes:
- Move setup_boot_APIC_clock into APIC_late_time_init for
  simplicity.
- Use cpu_khz to generate a better approximation of loops_per_jiffies
  so I can verify the timer interrupt is working.
- Call setup_apic_nmi_watchdog again after cpu_khz is initialized on
  the boot cpu.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:13 -08:00
..
alpha [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
arm [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
arm26 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
cris [PATCH] mm: cris v32 mmu_context_lock 2005-10-29 21:40:42 -07:00
frv [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
h8300 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support 2005-09-09 20:28:49 +02:00
i386 [PATCH] i386: move apic init in init_IRQs 2005-10-30 17:37:13 -08:00
ia64 [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m32r [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m68k [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
parisc [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
ppc [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
ppc64 [PATCH] memory hotplug: ppc64 specific hot-add functions 2005-10-29 21:40:45 -07:00
s390 [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
sh [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sh64 [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sparc [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
sparc64 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
um [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] FPU context corrupted after resume 2005-10-30 17:37:11 -08:00
xtensa [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00