diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:32:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:32:56 -0400 |
commit | 8f8771a057bff0d3911459d0bdadf03ec1dd3c89 (patch) | |
tree | c6e4acb46ada82e489b33c836c00b2ef02507b01 /arch/mips/kernel | |
parent | 4ead16819b4c61fea9bb73eb470f6bb1d3350e5c (diff) |
[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/mips/kernel')
-rw-r--r-- | arch/mips/kernel/smtc.c | 2 |
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) | |||
1104 | mtflags = dmt(); | 1104 | mtflags = dmt(); |
1105 | pdb_msg = &id_ho_db_msg[0]; | 1105 | pdb_msg = &id_ho_db_msg[0]; |
1106 | im = read_c0_status(); | 1106 | im = read_c0_status(); |
1107 | vpe = cpu_data[smp_processor_id()].vpe_id; | 1107 | vpe = current_cpu_data.vpe_id; |
1108 | for (bit = 0; bit < 8; bit++) { | 1108 | for (bit = 0; bit < 8; bit++) { |
1109 | /* | 1109 | /* |
1110 | * In current prototype, I/O interrupts | 1110 | * In current prototype, I/O interrupts |