projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ead168
)
[MIPS] SMTC: Use current_cpu_data instead of cpu_data[smp_processor_id]
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 10 Jul 2007 16:32:56 +0000
(17:32 +0100)
committer
Ralf 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/smtc.c
b/arch/mips/kernel/smtc.c
index 046b03b1705ab5177f0c2f8bf8ce5ef8d48f0c05..342d873b2ecc8bf6185a1137777408af54a42cc2 100644
(file)
--- 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 = c
pu_data[smp_processor_id()]
.vpe_id;
+ vpe = c
urrent_cpu_data
.vpe_id;
for (bit = 0; bit < 8; bit++) {
/*
* In current prototype, I/O interrupts