kernel-ark/arch/x86/include/asm
Ivan Vecera d3ec5cae09 x86: call machine_shutdown and stop all CPUs in native_machine_halt
Impact: really halt all CPUs on halt

Function machine_halt (resp. native_machine_halt) is empty for x86
architectures. When command 'halt -f' is invoked, the message "System
halted." is displayed but this is not really true because all CPUs are
still running.

There are also similar inconsistencies for other arches (some uses
power-off for halt or forever-loop with IRQs enabled/disabled).

IMO there should be used the same approach for all architectures OR
what does the message "System halted" really mean?

This patch fixes it for x86.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-11 14:50:02 +01:00
..
bigsmp
es7000 x86: fix APIC_DEBUG with inquire_remote_apic 2008-10-28 16:43:48 +01:00
mach-default x86: fix APIC_DEBUG with inquire_remote_apic 2008-10-28 16:43:48 +01:00
mach-generic x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
mach-rdc321x x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
mach-voyager
numaq
summit
uv x86, uv: fix compile error in uv_hub.h 2008-10-30 19:38:46 +01:00
visws x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
xen
a.out-core.h
a.out.h
acpi.h
agp.h
alternative-asm.h
alternative.h
amd_iommu_types.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
amd_iommu.h
apic.h x86: call machine_shutdown and stop all CPUs in native_machine_halt 2008-11-11 14:50:02 +01:00
apicdef.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
arch_hooks.h
asm.h
atomic_32.h
atomic_64.h
atomic.h
auxvec.h
bios_ebda.h
bitops.h
boot.h
bootparam.h
bug.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
bugs.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
byteorder.h
cache.h
cacheflush.h
calgary.h
calling.h
checksum_32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
checksum_64.h
checksum.h
cmpxchg_32.h
cmpxchg_64.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
cmpxchg.h
compat.h
cpu.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
cpufeature.h x86: fix AMDC1E and XTOPOLOGY conflict in cpufeature 2008-10-31 11:01:40 +01:00
cputime.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
current.h
debugreg.h
delay.h
desc_defs.h
desc.h
device.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
div64.h
dma-mapping.h x86: use GFP_DMA for 24bit coherent_dma_mask 2008-10-23 21:54:39 +02:00
dma.h
dmi.h
ds.h
dwarf2.h
e820.h
edac.h
efi.h
elf.h
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap_32.h x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps 2008-10-31 10:12:38 +01:00
fixmap_64.h
fixmap.h x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps 2008-10-31 10:12:38 +01:00
floppy.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
frame.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
ftrace.h
futex.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
gart.h
genapic_32.h
genapic_64.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
genapic.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
geode.h
gpio.h
hardirq_32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
hardirq_64.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
hardirq.h
highmem.h x86: add iomap_atomic*()/iounmap_atomic() on 32-bit using fixmaps 2008-10-31 10:12:38 +01:00
hpet.h
hugetlb.h
hw_irq.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
hypertransport.h
i387.h
i8253.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
i8259.h
ia32_unistd.h
ia32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
idle.h
intel_arch_perfmon.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
io_32.h
io_64.h
io_apic.h
io.h x86: start annotating early ioremap pointers with __iomem 2008-10-29 08:05:14 +01:00
ioctl.h
ioctls.h
iommu.h
ipcbuf.h
ipi.h
irq_regs_32.h
irq_regs_64.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
irq_regs.h
irq_remapping.h
irq_vectors.h x86: remove VISWS and PARAVIRT around NR_IRQS puzzle 2008-11-06 09:35:34 +01:00
irq.h
irqflags.h
ist.h
k8.h
Kbuild
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h
kvm_host.h
kvm_para.h
kvm_x86_emulate.h
kvm.h
ldt.h
lguest_hcall.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
lguest.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
linkage.h
local.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
math_emu.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
mc146818rtc.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
mca_dma.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
mca.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
mce.h
microcode.h
mman.h
mmconfig.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
mmu_context_32.h
mmu_context_64.h
mmu_context.h
mmu.h
mmx.h
mmzone_32.h
mmzone_64.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
mmzone.h
module.h
mpspec_def.h
mpspec.h
msgbuf.h
msidef.h
msr-index.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
msr.h sched: improve sched_clock() performance 2008-11-08 16:48:19 +01:00
mtrr.h
mutex_32.h
mutex_64.h
mutex.h
nmi.h
nops.h
numa_32.h
numa_64.h
numa.h
numaq.h
olpc.h
page_32.h
page_64.h
page.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
param.h
paravirt.h
parport.h
pat.h
pci_32.h
pci_64.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
pci-direct.h
pci.h
pda.h
percpu.h
pgalloc.h
pgtable_32.h
pgtable_64.h
pgtable-2level-defs.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
pgtable-2level.h
pgtable-3level-defs.h
pgtable-3level.h i386/PAE: fix pud_page() 2008-10-30 11:47:50 +01:00
pgtable.h
poll.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
posix_types_32.h
posix_types_64.h
posix_types.h
prctl.h
processor-cyrix.h
processor-flags.h
processor.h
proto.h
ptrace-abi.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
ptrace.h
pvclock-abi.h
pvclock.h
reboot_fixups.h
reboot.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
required-features.h
resource.h
resume-trace.h
rio.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
rtc.h
rwlock.h
rwsem.h
scatterlist.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
seccomp_32.h
seccomp_64.h
seccomp.h
sections.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
segment.h
sembuf.h
serial.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
setup.h
shmbuf.h
shmparam.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
sigcontext32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
sigcontext.h
siginfo.h
signal.h
smp.h x86/voyager: fix compile breakage caused by dc1e35c6e9 2008-10-31 00:19:33 +01:00
socket.h
sockios.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
sparsemem.h
spinlock_types.h
spinlock.h
srat.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
stacktrace.h
stat.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
statfs.h
string_32.h
string_64.h
string.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
suspend_32.h
suspend_64.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
suspend.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
swiotlb.h
sync_bitops.h
syscall.h
syscalls.h
system_64.h
system.h x86: call machine_shutdown and stop all CPUs in native_machine_halt 2008-11-11 14:50:02 +01:00
tce.h
termbits.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
termios.h
therm_throt.h
thread_info.h
time.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
timer.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
timex.h
tlb.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
tlbflush.h
topology.h sched: re-tune balancing 2008-11-05 18:04:38 +01:00
trampoline.h
traps.h
tsc.h sched: improve sched_clock() performance 2008-11-08 16:48:19 +01:00
types.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
uaccess_32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
uaccess_64.h
uaccess.h
ucontext.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
unaligned.h
unistd_32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
unistd_64.h
unistd.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
unwind.h
user32.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
user_32.h
user_64.h
user.h
vdso.h
vga.h
vgtod.h
vic.h
vm86.h
vmi_time.h x86: Fix ASM_X86__ header guards 2008-10-22 22:55:23 -07:00
vmi.h x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
voyager.h x86, voyager: fix smp_intr_init() compile breakage 2008-11-03 10:52:21 +01:00
vsyscall.h
xcr.h
xor_32.h
xor_64.h
xor.h
xsave.h