]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] SMTC: Use current_cpu_data instead of cpu_data[smp_processor_id]
authorRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 16:32:56 +0000 (17:32 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 16:32:56 +0000 (17:32 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smtc.c

index 046b03b1705ab5177f0c2f8bf8ce5ef8d48f0c05..342d873b2ecc8bf6185a1137777408af54a42cc2 100644 (file)
@@ -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