[ARM] cputype: separate definitions, use them
Add asm/cputype.h, moving functions and definitions from asm/system.h there. Convert all users of 'processor_id' to the more efficient read_cpuid_id() function. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
b8e6c91c74
commit
0ba8b9b273
@@ -62,6 +62,8 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <asm/cputype.h>
|
||||
|
||||
#ifdef CONFIG_PXA25x
|
||||
#define __cpu_is_pxa21x(id) \
|
||||
({ \
|
||||
|
Reference in New Issue
Block a user