diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2007-12-17 21:53:27 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-02-04 08:15:25 -0500 |
commit | c18f65816ef80b67eb4511ed8359c2dfcd69680d (patch) | |
tree | 4802b4316796b8dbee051d2a36064e221249f8df /arch/arm/kernel/setup.c | |
parent | a9a424ce9a209155f3d4b9f8ceba50cdebb7769b (diff) |
[ARM] 4712/2: Adds functions to read and write IXP4xx "feature" bits
Adds functions to read and write IXP4xx "feature" (aka "fuse")
bits, containing information about available/enabled CPU features.
The uncompress.h included by boot/compressed/misc.c resides in
a different space than rest of the kernel and thus can't use
asm/hardware.h (including asm/arch/cpu.h - which, in turn, may use
EXPORTed symbol "processor_id").
Posted to linux-arm-kernel on 2 Dec 2007 and revised.
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index bf56eb337df1..dd37901f786a 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -62,6 +62,7 @@ extern int root_mountflags; | |||
62 | extern void _stext, _text, _etext, __data_start, _edata, _end; | 62 | extern void _stext, _text, _etext, __data_start, _edata, _end; |
63 | 63 | ||
64 | unsigned int processor_id; | 64 | unsigned int processor_id; |
65 | EXPORT_SYMBOL(processor_id); | ||
65 | unsigned int __machine_arch_type; | 66 | unsigned int __machine_arch_type; |
66 | EXPORT_SYMBOL(__machine_arch_type); | 67 | EXPORT_SYMBOL(__machine_arch_type); |
67 | 68 | ||