2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00
linux-next/arch/mips/oprofile
Ralf Baechle 69f24d1784 MIPS: Optimize current_cpu_type() for better code.
o Move current_cpu_type() to a separate header file
 o #ifdefing on supported CPU types lets modern GCC know that certain
   code in callers may be discarded ideally turning current_cpu_type() into
   a function returning a constant.
 o Use current_cpu_type() rather than direct access to struct cpuinfo_mips.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5833/
2013-09-17 18:50:53 +02:00
..
backtrace.c MIPS: oprofile: Add callgraph support 2011-06-15 14:35:34 +02:00
common.c MIPS: Optimize current_cpu_type() for better code. 2013-09-17 18:50:53 +02:00
Makefile Merge branch 'mips-next' of http://dev.phrozen.org/githttp/mips-next into mips-for-linux-next 2012-12-13 19:40:13 +01:00
op_impl.h MIPS: oprofile: Add callgraph support 2011-06-15 14:35:34 +02:00
op_model_loongson2.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
op_model_mipsxx.c MIPS: oprofile: Fix BUG due to smp_processor_id() in preemptible code. 2013-08-05 13:34:22 +02:00