summaryrefslogtreecommitdiff
path: root/include/asm-ppc64/system.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2003-06-25 10:59:03 +1000
committerAnton Blanchard <anton@samba.org>2003-06-25 10:59:03 +1000
commita7872552cec12edbe91433ad50ce413ff06f97fb (patch)
tree32e833968d4566d29d133fe154bd08267299d111 /include/asm-ppc64/system.h
parent8daa70295aa5c61b5fae8b63deddb01791337f00 (diff)
ppc64: add dabr and iabr cpu features
Diffstat (limited to 'include/asm-ppc64/system.h')
-rw-r--r--include/asm-ppc64/system.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-ppc64/system.h b/include/asm-ppc64/system.h
index 5ea0ebe48927..77970df886f1 100644
--- a/include/asm-ppc64/system.h
+++ b/include/asm-ppc64/system.h
@@ -115,13 +115,6 @@ static inline int __is_processor(unsigned long pv)
return(PVR_VER(pvr) == pv);
}
-static inline int processor_type(void)
-{
- unsigned long pvr;
- asm ("mfspr %0, 0x11F" : "=r" (pvr));
- return(PVR_VER(pvr));
-}
-
/*
* Atomic exchange
*