diff options
| author | Anton Blanchard <anton@samba.org> | 2002-04-24 10:01:44 +1000 |
|---|---|---|
| committer | Anton Blanchard <anton@samba.org> | 2002-04-24 10:01:44 +1000 |
| commit | 4cc0e3b1097044b0f0fbbe284ac9ce0a8eee8df7 (patch) | |
| tree | 272f48f680fce084fb89a999ac957bd6407e141e /include/asm-ppc64/processor.h | |
| parent | f105d55bba35aaf81d1f1870a8479f40ff5f1c48 (diff) | |
ppc64: put machine type into naca from Don Reed
Diffstat (limited to 'include/asm-ppc64/processor.h')
| -rw-r--r-- | include/asm-ppc64/processor.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h index 9cb21765a7ac..e05ad20fae15 100644 --- a/include/asm-ppc64/processor.h +++ b/include/asm-ppc64/processor.h @@ -490,18 +490,10 @@ #define PV_630 0x0040 #define PV_630p 0x0041 -/* Platforms supported by PPC64. _machine is actually a set of flags */ -#define _MACH_pSeriesHW 0x00010000 -#define _MACH_iSeriesHW 0x00020000 -#define _MACH_LPAR 0x00000001 - -#define _MACH_unknown 0x00000000 -#define _MACH_pSeries (_MACH_pSeriesHW) -#define _MACH_pSeriesLP (_MACH_pSeriesHW | _MACH_LPAR) -#define _MACH_iSeries (_MACH_iSeriesHW | _MACH_LPAR) - -/* Compat defines for drivers */ -#define _MACH_Pmac 0xf0000000 /* bogus value */ +/* Platforms supported by PPC64 */ +#define PLATFORM_PSERIES 0x0100 +#define PLATFORM_PSERIES_LPAR 0x0101 +#define PLATFORM_ISERIES_LPAR 0x0201 /* * List of interrupt controllers. @@ -609,7 +601,6 @@ GLUE(GLUE(.LT,NAME),_procname_end): asm volatile("mfasr %0" : "=r" (rval)); rval;}) #ifndef __ASSEMBLY__ -extern int _machine; extern int have_of; struct task_struct; |
