commit | 2ecccf90f2a6d821af4d33f086d59895e5d3bedc | [log] [tgz] |
---|---|---|
author | Dave Martin <dave.martin@linaro.org> | Fri Aug 19 17:58:35 2011 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Oct 17 09:12:40 2011 +0100 |
tree | d12438e595a0cfa5051187f69a1badddb1b317b3 | |
parent | 40c6d8aee40e373db75e6b0b4230fc8e8259d7a6 [diff] |
ARM: 7029/1: Make cpu_architecture into a global variable The CPU architecture really should not be changing at runtime, so make it a global variable instead of a function. The cpu_architecture() function declared in <asm/system.h> remains the correct way to read this variable from C code. Signed-off-by: Dave Martin <dave.martin@linaro.org> Reviewed-by: Jon Medhurst <tixy@yxit.co.uk> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>