]> git.baikalelectronics.ru Git - kernel.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 11:58:12 +0000 (13:58 +0200)
commit10a1d5bbc030c0ffe5b8270b7fa2c9c3c2b65e18
treec87b586f4e426aa61d179e6da15baa6760050d61
parentcd4b6ab7e647a9eca11d1c384b1a047b96a12c24
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