kernel-ark/include/asm-sparc64
David S. Miller 301feb6524 [SPARC64]: Fix lockdep, particularly on SMP.
As noted by Al Viro, when we try to call prom_set_trap_table()
in the SMP trampoline code we try to take the PROM call spinlock
which doesn't work because the current thread pointer isn't
valid yet and lockdep depends upon that being correct.

Furthermore, we cannot set the current thread pointer register
because it can't be properly dereferenced until we return from
prom_set_trap_table().  Kernel TLB misses only work after that
call.

So do the PROM call to set the trap table directly instead of
going through the OBP library C code, and thus avoid the lock
altogether.

These calls are guarenteed to be serialized fully.

Since there are now no calls to the prom_set_trap_table{_sun4v}()
library functions, they can be deleted.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-09-16 11:51:15 -07:00
..
a.out.h
agp.h
apb.h
asi.h
atomic.h
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 [SPARC64]: Fix several bugs in MSI handling. 2007-08-30 23:06:51 -07:00
display7seg.h
div64.h
dma-mapping.h [SPARC64]: Add missing dma_sync_single_range_for_*(). 2007-08-03 14:08:20 -07:00
dma.h
ebus.h
elf.h [SPARC64]: Create a HWCAP_SPARC_N2 and report it to userspace on Niagara-2. 2007-08-16 13:56:39 -07:00
emergency-restart.h
envctrl.h
errno.h
estate.h
fb.h [SPARC]: Implement fb_is_primary_device(). 2007-07-20 17:15:09 -07:00
fbio.h [SPARC]: Mark SBUS framebuffer ioctls as IGNORE in compat_ioctl.c 2007-07-30 00:27:36 -07:00
fcntl.h [SPARC]: Fix O_CLOEXEC values. 2007-08-03 14:24:17 -07:00
fhc.h
floppy.h [SPARC64]: asm-sparc64/floppy.h needs linux/pci.h 2007-07-30 00:27:35 -07:00
fpumacro.h
futex.h
hardirq.h
head.h
hvtramp.h
hw_irq.h
hypervisor.h
ide.h
idprom.h
intr_queue.h
io.h
ioctl.h
ioctls.h
iommu.h [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
ipc.h
ipcbuf.h
irq_regs.h
irq.h [SPARC64]: Fix several bugs in MSI handling. 2007-08-30 23:06:51 -07:00
irqflags.h
isa.h
Kbuild
kdebug.h
kmap_types.h
kprobes.h
ldc.h
linkage.h
local.h
lsu.h
mc146818rtc.h
mdesc.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 Create linux/of_platorm.h 2007-07-20 14:25:22 +10:00
of_platform.h Create linux/of_platorm.h 2007-07-20 14:25:22 +10:00
openprom.h
openpromio.h
oplib.h [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
page.h
param.h
parport.h [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
pci.h [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
pconf.h
percpu.h [SPARC64]: Need to clobber global reg vars in switch_to(). 2007-08-20 23:40:00 -07:00
perfctr.h
pgalloc.h
pgtable.h
pil.h
poll.h
posix_types.h
processor.h
prom.h [SPARC]: Centralize find_in_proplist() instead of duplicating N times. 2007-08-07 18:46:36 -07:00
psrcompat.h
pstate.h
ptrace.h
reg.h
resource.h
rtc.h
rwsem-const.h
rwsem.h
sbus.h [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
scatterlist.h
scratchpad.h
seccomp.h
sections.h
semaphore.h
sembuf.h
setup.h
sfafsr.h
sfp-machine.h [MATH-EMU]: Fix underflow exception reporting. 2007-08-16 22:59:49 -07:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
solerrno.h
sparsemem.h
spinlock_types.h
spinlock.h
spitfire.h [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
sstate.h
starfire.h
stat.h
statfs.h
string.h
sunbpp.h
svr4.h
system.h [SPARC64]: Need to clobber global reg vars in switch_to(). 2007-08-20 23:40:00 -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]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
upa.h
user.h
utrap.h
vga.h
vio.h [SPARC64]: Fix handling of multiple vdc-port nodes. 2007-07-19 21:27:18 -07:00
visasm.h
watchdog.h
xor.h [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00