android_kernel_samsung_univ.../include
Avi Kivity 47e627bc8c [PATCH] hotplug: Allow modules to use the cpu hotplug notifiers even if !CONFIG_HOTPLUG_CPU
The following patchset allows a host with running virtual machines to be
suspended and, on at least a subset of the machines tested, resumed.  Note
that this is orthogonal to suspending and resuming an individual guest to a
file.

A side effect of implementing suspend/resume is that cpu hotplug is now
supported.  This should please the owners of big iron.

This patch:

KVM wants the cpu hotplug notifications, both for cpu hotplug itself, but more
commonly for host suspend/resume.

In order to avoid extensive #ifdefs, provide stubs when CONFIG_CPU_HOTPLUG is
not defined.

In all, we have four cases:

- UP: register and unregister stubbed out
- SMP+hotplug: full register and unregister
- SMP, no hotplug, core: register as __init, unregister stubbed
      (cpus are brought up during core initialization)
- SMP, no hotplug, module: register and unregister stubbed out
      (cpus cannot be brought up during module lifetime)

Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:40 -08:00
..
acpi
asm-alpha
asm-arm [PATCH] S3C2410 GPIO wrappers 2007-02-12 09:48:34 -08:00
asm-arm26
asm-avr32
asm-cris
asm-frv
asm-generic [PATCH] GPIO core 2007-02-12 09:48:34 -08:00
asm-h8300
asm-i386 [PATCH] i386: 2048-byte command line 2007-02-12 09:48:39 -08:00
asm-ia64 [PATCH] ia64: 2048-byte command line 2007-02-12 09:48:39 -08:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-02-11 11:40:04 -08:00
asm-parisc
asm-powerpc
asm-ppc
asm-s390 [PATCH] Switch s390 to NO_IOMEM 2007-02-11 11:18:07 -08:00
asm-sh
asm-sh64
asm-sparc [PATCH] add missing io...._rep() on sparc32 2007-02-11 11:18:07 -08:00
asm-sparc64 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-02-11 11:37:45 -08:00
asm-um
asm-v850
asm-x86_64 [PATCH] x86_64: 2048-byte command line 2007-02-12 09:48:39 -08:00
asm-xtensa
crypto
keys
linux [PATCH] hotplug: Allow modules to use the cpu hotplug notifiers even if !CONFIG_HOTPLUG_CPU 2007-02-12 09:48:40 -08:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-02-11 11:44:25 -08:00
sound
video
Kbuild