commit | c5f66596313734cd7e95cc748d643d3b9ba2ca81 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Tue Sep 17 13:58:12 2013 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Tue Sep 17 13:58:12 2013 +0200 |
tree | c87b586f4e426aa61d179e6da15baa6760050d61 | |
parent | 7cc4fa1e5121b524dad4d6a484ccdbc1be97767c [diff] |
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>