kernel-fxtec-pro1x/arch/sparc64/kernel
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
..
asm-offsets.c
audit.c
auxio.c [SPARC/64] Rename some functions like PowerPC 2007-07-20 14:24:53 +10:00
binfmt_aout32.c
binfmt_elf32.c
central.c
chmc.c
compat_audit.c
cpu.c [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
ds.c [SPARC64]: Do not flood log with failed DS messages. 2007-07-20 17:14:38 -07:00
dtlb_miss.S
dtlb_prot.S
ebus.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
entry.S
etrap.S
head.S [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
hvapi.c
hvtramp.S [SPARC64]: Fix memory leak when cpu hotplugging. 2007-08-08 17:33:52 -07:00
idprom.c
init_task.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
iommu.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
iommu_common.c
iommu_common.h
irq.c [SPARC64]: Fix several bugs in MSI handling. 2007-08-30 23:06:51 -07:00
isa.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
itlb_miss.S
kprobes.c
ktlb.S
ldc.c
Makefile [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
mdesc.c [SPARC64]: Allow userspace to get at the machine description. 2007-08-15 21:02:23 -07:00
module.c
of_device.c [SPARC]: Make sure dev_archdata is filled in for all devices. 2007-07-20 17:13:42 -07:00
pci.c [SPARC64]: Fix booting on V100 systems. 2007-09-12 10:15:59 +02:00
pci_common.c [SPARC64]: Fix sun4u PCI config space accesses on sun4u. 2007-07-30 00:27:29 -07:00
pci_fire.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
pci_impl.h
pci_psycho.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
pci_sabre.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
pci_schizo.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
pci_sun4v.c [SPARC64]: Fix several bugs in MSI handling. 2007-08-30 23:06:51 -07:00
pci_sun4v.h
pci_sun4v_asm.S
power.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
process.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
prom.c [SPARC]: Centralize find_in_proplist() instead of duplicating N times. 2007-08-07 18:46:36 -07:00
ptrace.c
rtrap.S
sbus.c [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. 2007-07-30 00:27:34 -07:00
semaphore.c
setup.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
signal.c [SPARC64]: Kill bogus set_fs(KERNEL_DS) in do_rt_sigreturn(). 2007-07-17 14:37:54 -07:00
signal32.c
smp.c [SPARC64]: Fix memory leak when cpu hotplugging. 2007-08-08 17:33:52 -07:00
sparc64_ksyms.c [SPARC64]: Do not assume sun4v chips have load-twin/store-init support. 2007-08-08 17:33:45 -07:00
sstate.c
stacktrace.c
starfire.c
sun4v_ivec.S
sun4v_tlb_miss.S
sunos_ioctl32.c
sys32.S
sys_sparc.c
sys_sparc32.c [SPARC]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
sys_sunos32.c
sysfs.c [SPARC64]: More sensible udelay implementation. 2007-07-16 04:05:02 -07:00
systbls.S [SPARC]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
time.c [SPARC64]: Handle mostek clock type in mini_rtc driver. 2007-07-30 00:27:32 -07:00
trampoline.S [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
traps.c [SPARC64]: Fix show_stack() when stack argument is NULL. 2007-07-30 00:27:38 -07:00
tsb.S
ttable.S
una_asm.S
unaligned.c
us2e_cpufreq.c
us3_cpufreq.c
vio.c [SPARC]: Centralize find_in_proplist() instead of duplicating N times. 2007-08-07 18:46:36 -07:00
viohs.c viohs: extern on function definition 2007-07-26 11:11:56 -07:00
visemul.c
vmlinux.lds.S [SPARC]: Add missing NOTES section. 2007-07-24 13:24:34 -07:00
winfixup.S