From: Ralf Baechle Date: Tue, 10 Jul 2007 16:32:56 +0000 (+0100) Subject: [MIPS] SMTC: Use current_cpu_data instead of cpu_data[smp_processor_id] X-Git-Tag: v2.6.23-rc1~1153^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f8771a057bff0d3911459d0bdadf03ec1dd3c89;p=platform%2Fkernel%2Flinux-3.10.git [MIPS] SMTC: Use current_cpu_data instead of cpu_data[smp_processor_id] Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index 046b03b..342d873 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