]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Provide nice way to access boot CPU's data.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 17 Sep 2013 11:58:12 +0000 (13:58 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 17 Sep 2013 21:16:04 +0000 (23:16 +0200)
commitcf6cf1e8b7f197bb93641cbd397867fdd6ba70cb
tree8f9692d69934e28deda43c2cbb434e6bfae6622f
parent30d098f624485284e6d0d572ed664759f2924cc6
MIPS: Provide nice way to access boot CPU's data.

boot_cpu_data is used the same as current_cpu_data but returns the CPU
data for CPU 0.  This means it doesn't have to use smp_processor_id()
thus no need to disable preemption.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-info.h