aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/ppc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/ppc.h b/arch/powerpc/include/asm/ppc.h
index 5e0aa08be93..6ba10974b6d 100644
--- a/arch/powerpc/include/asm/ppc.h
+++ b/arch/powerpc/include/asm/ppc.h
@@ -40,14 +40,13 @@
#include <asm/processor.h>
-#if defined(CONFIG_8xx)
static inline uint get_immr(uint mask)
{
uint immr = mfspr(SPRN_IMMR);
return mask ? (immr & mask) : immr;
}
-#endif
+
static inline uint get_pvr(void)
{
return mfspr(PVR);