projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: mpc8xx: remove get_immr() argument
[platform/kernel/u-boot.git]
/
arch
/
powerpc
/
include
/
asm
/
ppc.h
diff --git
a/arch/powerpc/include/asm/ppc.h
b/arch/powerpc/include/asm/ppc.h
index
6ba1097
..
c3f73ef
100644
(file)
--- a/
arch/powerpc/include/asm/ppc.h
+++ b/
arch/powerpc/include/asm/ppc.h
@@
-40,11
+40,9
@@
#include <asm/processor.h>
-static inline uint get_immr(
uint mask
)
+static inline uint get_immr(
void
)
{
- uint immr = mfspr(SPRN_IMMR);
-
- return mask ? (immr & mask) : immr;
+ return mfspr(SPRN_IMMR);
}
static inline uint get_pvr(void)