aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/kvm_cache_regs.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-01 16:22:27 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-16 04:56:25 -0700
commit0c243ad81f234672bebb72cf3dd014b9c841781d (patch)
tree2908de8577cc58b82fed8a4ac1e11536e27ad06e /arch/x86/kvm/kvm_cache_regs.h
parent73fffc037e2383a0ed126d57bdcda9b369769ae8 (diff)
sparc64: Only allocate per-cpu areas for possible cpus.
This gets us real close to the generic implementation of setup_per_cpu_areas() except: 1) We store the per-cpu offset into the trap_block[], whereas the generic code has it's own static array. 2) We have to initialize the %g5 register to hold the boot cpu's per-cpu area offset. 3) The OBP/MDESC cpu info scan is performed at the end. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/kvm/kvm_cache_regs.h')
0 files changed, 0 insertions, 0 deletions