linux-stable-rt/include/asm-sparc
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
..
Kbuild
a.out.h [SPARC]: Add unsigned to unused bit field in a.out.h 2007-04-02 14:26:21 -07:00
apc.h
asi.h
asmmacro.h
atomic.h
auxio.h
auxvec.h
bitext.h
bitops.h [SPARC]: Make bitops use same spinlocks as atomics. 2006-12-17 16:18:47 -08:00
bpp.h
bsderrno.h
btfixup.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h [PATCH] Optimize D-cache alias handling on fork 2006-12-13 09:27:08 -08:00
checksum.h [SPARC32]: Fix over-optimization by GCC near ip_fast_csum. 2007-02-01 20:24:35 -08:00
clock.h
contregs.h
cpudata.h
cputime.h
current.h
cypress.h
delay.h
device.h
div64.h
dma-mapping.h [PATCH] sparc: have dma-mapping.h include generic/dma-mapping-broken in non-PCI case 2007-03-14 15:27:49 -07:00
dma.h
ebus.h
ecc.h
eeprom.h
elf.h
emergency-restart.h
errno.h
fbio.h
fcntl.h
fixmap.h
floppy.h
futex.h
hardirq.h
head.h
highmem.h
hw_irq.h
ide.h
idprom.h
io-unit.h
io.h [PATCH] add missing io...._rep() on sparc32 2007-02-11 11:18:07 -08:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
irq.h
irq_regs.h
jsflash.h
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kgdb.h
kmap_types.h
linkage.h
local.h
machines.h
mbus.h
mc146818rtc.h
memreg.h
mman.h
mmu.h
mmu_context.h [PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction 2007-05-02 19:27:14 +02:00
module.h
mostek.h [SPARC]: sparc64 gcc-4.2.0 20070317 -Werror failure 2007-03-27 01:13:55 -07:00
mpmbox.h
msgbuf.h
msi.h
mutex.h
mxcc.h
namei.h
obio.h
of_device.h [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
openprom.h
openpromio.h
oplib.h
page.h
param.h
pbm.h
pci.h [SPARC]: Provide pci_device_to_OF_node() just like powerpc. 2007-03-02 15:22:51 -08:00
pcic.h
pconf.h
percpu.h
perfctr.h
pgalloc.h
pgtable.h
pgtsrmmu.h
pgtsun4.h
pgtsun4c.h
poll.h
posix_types.h
processor.h
prom.h [SPARC]: Make device_node name and type const 2007-04-26 01:55:41 -07:00
psr.h
ptrace.h
reg.h
resource.h
ross.h
rtc.h
sbi.h
sbus.h
scatterlist.h
sections.h
semaphore.h
sembuf.h
setup.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
smpprim.h
socket.h [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support 2007-04-25 22:24:21 -07:00
sockios.h [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
solerrno.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
sun4paddr.h
sun4prom.h
sunbpp.h
svr4.h
swift.h
sysen.h
system.h Remove tas() 2007-05-08 11:15:20 -07:00
termbits.h
termios.h [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
tsunami.h
turbosparc.h
types.h
uaccess.h
unaligned.h
unistd.h [SPARC]: Wire up utimensat syscall. 2007-05-08 17:50:14 -07:00
user.h
vac-ops.h
vaddrs.h
vfc_ioctls.h
vga.h
viking.h
winmacro.h
xor.h