2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/arch/mips/include/asm/mach-ip27
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
..
cpu-feature-overrides.h MIPS: Optimize current_cpu_type() for better code. 2013-09-17 18:50:53 +02:00
dma-coherence.h MIPS: Remove pointless return statement from empty void functions. 2011-07-25 17:26:55 +01:00
irq.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
kernel-entry-init.h MIPS: IP27: Fix build error with CONFIG_MAPPED_KERNEL 2013-06-21 18:07:00 +02:00
kmalloc.h dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07:00
mangle-port.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
mmzone.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
spaces.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
topology.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
war.h MIPS: PMC-Sierra Yosemite: Remove support. 2012-12-13 18:15:30 +01:00