summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-10 18:32:56 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-10 18:32:56 +0200
commit8f8771a057bff0d3911459d0bdadf03ec1dd3c89 (patch)
treec6e4acb46ada82e489b33c836c00b2ef02507b01 /arch
parent[MIPS] Add generic GPIO to Au1x00 (diff)
downloadlinux-8f8771a057bff0d3911459d0bdadf03ec1dd3c89.tar.xz
linux-8f8771a057bff0d3911459d0bdadf03ec1dd3c89.zip
[MIPS] SMTC: Use current_cpu_data instead of cpu_data[smp_processor_id]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/smtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c
index 046b03b1705a..342d873b2ecc 100644
--- a/arch/mips/kernel/smtc.c
+++ b/arch/mips/kernel/smtc.c
@@ -1104,7 +1104,7 @@ void smtc_idle_loop_hook(void)
mtflags = dmt();
pdb_msg = &id_ho_db_msg[0];
im = read_c0_status();
- vpe = cpu_data[smp_processor_id()].vpe_id;
+ vpe = current_cpu_data.vpe_id;
for (bit = 0; bit < 8; bit++) {
/*
* In current prototype, I/O interrupts