1
linux/arch/sparc64/prom
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
..
bootstr.c
cif.S [SPARC64]: Sanitize %pstate writes for sun4v. 2006-03-20 01:11:50 -08:00
console.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
devops.c [SPARC64]: Rewrite bootup sequence. 2005-09-22 20:11:33 -07:00
init.c [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. 2006-03-20 01:14:25 -08:00
Makefile [SPARC64]: Kill arch/sparc64/prom/memory.c 2005-09-29 18:05:28 -07:00
misc.c [SPARC64]: Fix lockdep, particularly on SMP. 2007-09-16 11:51:15 -07:00
p1275.c [SPARC64]: Initial LDOM cpu hotplug support. 2007-07-16 04:04:40 -07:00
printf.c [SPARC64]: Rewrite bootup sequence. 2005-09-22 20:11:33 -07:00
tree.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00