Commit e66bbef5 authored by Russell King's avatar Russell King

[ARM] Fix read_cpuid()

parent 4197692e
......@@ -50,7 +50,7 @@
#define read_cpuid(reg) \
({ \
unsigned int __val; \
asm("mrc p15, 0, %0, c0, c0, " #reg \
asm("mrc%? p15, 0, %0, c0, c0, " __stringify(reg) \
: "=r" (__val)); \
__val; \
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment