aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/traps.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-10-11 15:39:35 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-11 15:39:35 -0400
commit56c5d900dbb8e042bfad035d18433476931d8f93 (patch)
tree00b793965beeef10db03e0ff021d2d965c410759 /arch/sparc64/kernel/traps.c
parent4dd95b63ae25c5cad6986829b5e8788e9faa0330 (diff)
parentead9d23d803ea3a73766c3cb27bf7563ac8d7266 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: sound/core/memalloc.c
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r--arch/sparc64/kernel/traps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c
index 342da2164239..81ccd22e78d4 100644
--- a/arch/sparc64/kernel/traps.c
+++ b/arch/sparc64/kernel/traps.c
@@ -10,6 +10,7 @@
10 10
11#include <linux/module.h> 11#include <linux/module.h>
12#include <linux/sched.h> 12#include <linux/sched.h>
13#include <linux/linkage.h>
13#include <linux/kernel.h> 14#include <linux/kernel.h>
14#include <linux/signal.h> 15#include <linux/signal.h>
15#include <linux/smp.h> 16#include <linux/smp.h>
@@ -2496,7 +2497,7 @@ struct trap_per_cpu trap_block[NR_CPUS];
2496/* This can get invoked before sched_init() so play it super safe 2497/* This can get invoked before sched_init() so play it super safe
2497 * and use hard_smp_processor_id(). 2498 * and use hard_smp_processor_id().
2498 */ 2499 */
2499void init_cur_cpu_trap(struct thread_info *t) 2500void notrace init_cur_cpu_trap(struct thread_info *t)
2500{ 2501{
2501 int cpu = hard_smp_processor_id(); 2502 int cpu = hard_smp_processor_id();
2502 struct trap_per_cpu *p = &trap_block[cpu]; 2503 struct trap_per_cpu *p = &trap_block[cpu];