diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 06:19:43 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 06:19:43 +0200 |
commit | 9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3 (patch) | |
tree | 381e9786b837085bd555c705542047f54cd2beab /include/asm-ppc64/system.h | |
parent | powerpc: Make some #includes explicit. (diff) | |
download | linux-9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3.tar.xz linux-9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3.zip |
powerpc: Merged processor.h.
This adds register definitions from the ppc64 processor.h to reg.h,
and makes a single merged processor.h. I moved __is_processor from
the ppc64 system.h to the merged reg.h along with the PVR register
constants.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-ppc64/system.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-ppc64/system.h b/include/asm-ppc64/system.h index 1fbdc9f0590c..c04d62c592a6 100644 --- a/include/asm-ppc64/system.h +++ b/include/asm-ppc64/system.h @@ -144,13 +144,6 @@ struct thread_struct; extern struct task_struct * _switch(struct thread_struct *prev, struct thread_struct *next); -static inline int __is_processor(unsigned long pv) -{ - unsigned long pvr; - asm("mfspr %0, 0x11F" : "=r" (pvr)); - return(PVR_VER(pvr) == pv); -} - /* * Atomic exchange * |