kernel-ark/include/asm-sparc64
Fernando Luis Vazquez Cao 2f4dfe206a Remove hardcoding of hard_smp_processor_id on UP systems
With the advent of kdump, the assumption that the boot CPU when booting an UP
kernel is always the CPU with a particular hardware ID (often 0) (usually
referred to as BSP on some architectures) is not valid anymore.  The reason
being that the dump capture kernel boots on the crashed CPU (the CPU that
invoked crash_kexec), which may be or may not be that particular CPU.

Move definition of hard_smp_processor_id for the UP case to
architecture-specific code ("asm/smp.h") where it belongs, so that each
architecture can provide its own implementation.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Cc: "Luck, Tony" <tony.luck@intel.com>
Acked-by: Andi Kleen <ak@suse.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:48 -07:00
..
a.out.h
agp.h
apb.h
asi.h
atomic.h atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency 2007-05-08 11:15:20 -07:00
auxio.h
auxvec.h
bbc.h
bitops.h
bpp.h
bsderrno.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
chafsr.h
checksum.h
chmctrl.h
cmt.h
compat_signal.h
compat.h
cpudata.h
cputime.h
current.h
dcr.h
dcu.h
delay.h
device.h
display7seg.h
div64.h
dma-mapping.h
dma.h
ebus.h
elf.h
emergency-restart.h
envctrl.h
errno.h
estate.h
fbio.h
fcntl.h
fhc.h
floppy.h
fpumacro.h
futex.h
hardirq.h
head.h
hw_irq.h
hypervisor.h
ide.h
idprom.h
intr_queue.h
io.h
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
isa.h
Kbuild
kdebug.h [SPARC64]: Optimize fault kprobe handling just like powerpc. 2007-05-08 18:25:14 -07:00
kmap_types.h
kprobes.h [SPARC64]: Optimize fault kprobe handling just like powerpc. 2007-05-08 18:25:14 -07:00
linkage.h
local.h local_t: sparc64 cleanup 2007-05-08 11:15:20 -07:00
lsu.h
mc146818rtc.h
mman.h
mmu_context.h
mmu.h
module.h
mostek.h
msgbuf.h
mutex.h
namei.h
ns87303.h
numnodes.h
of_device.h
openprom.h
openpromio.h
oplib.h
page.h
param.h
parport.h
pci.h
pconf.h
percpu.h
perfctr.h
pgalloc.h
pgtable.h
pil.h
poll.h
posix_types.h
processor.h
prom.h
psrcompat.h
pstate.h
ptrace.h
reg.h
resource.h
rtc.h
rwsem-const.h
rwsem.h
sbus.h
scatterlist.h
scratchpad.h
seccomp.h
sections.h
semaphore.h
sembuf.h
setup.h
sfafsr.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h Remove hardcoding of hard_smp_processor_id on UP systems 2007-05-09 12:30:48 -07:00
socket.h
sockios.h
solerrno.h
sparsemem.h
spinlock_types.h
spinlock.h
spitfire.h
starfire.h
stat.h
statfs.h
string.h
sunbpp.h
svr4.h
system.h Remove tas() 2007-05-08 11:15:20 -07:00
termbits.h
termios.h
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
tsb.h
ttable.h
types.h
uaccess.h
uctx.h
unaligned.h
unistd.h [SPARC]: Wire up utimensat syscall. 2007-05-08 17:50:14 -07:00
upa.h
user.h
utrap.h
vga.h
visasm.h
watchdog.h
xor.h