diff options
author | Anton Blanchard <anton@samba.org> | 2006-06-10 06:32:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-15 05:31:26 -0400 |
commit | 227318bbde6c8309b1d20ab46532ec2b737e1fee (patch) | |
tree | de8bbbda0d69fc641629c10e5a0a1070a09bdde7 /include | |
parent | 8555a0029b1b0840237b750e55d4835a52cc719b (diff) |
[POWERPC] Remove stale 64bit on 32bit kernel code
Remove some stale POWER3/POWER4/970 on 32bit kernel support.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/cputable.h | 19 | ||||
-rw-r--r-- | include/asm-ppc/mmu.h | 17 |
2 files changed, 0 insertions, 36 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h index 69f2c242797f..da6f417d2ca7 100644 --- a/include/asm-powerpc/cputable.h +++ b/include/asm-powerpc/cputable.h | |||
@@ -300,13 +300,6 @@ extern void do_cpu_ftr_fixups(unsigned long offset); | |||
300 | CPU_FTR_COMMON) | 300 | CPU_FTR_COMMON) |
301 | #define CPU_FTRS_CLASSIC32 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ | 301 | #define CPU_FTRS_CLASSIC32 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ |
302 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE) | 302 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE) |
303 | #define CPU_FTRS_POWER3_32 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ | ||
304 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE) | ||
305 | #define CPU_FTRS_POWER4_32 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ | ||
306 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE | CPU_FTR_NODSISRALIGN) | ||
307 | #define CPU_FTRS_970_32 (CPU_FTR_COMMON | CPU_FTR_SPLIT_ID_CACHE | \ | ||
308 | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE | CPU_FTR_ALTIVEC_COMP | \ | ||
309 | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_NODSISRALIGN) | ||
310 | #define CPU_FTRS_8XX (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB) | 303 | #define CPU_FTRS_8XX (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB) |
311 | #define CPU_FTRS_40X (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | \ | 304 | #define CPU_FTRS_40X (CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | \ |
312 | CPU_FTR_NODSISRALIGN) | 305 | CPU_FTR_NODSISRALIGN) |
@@ -367,12 +360,6 @@ enum { | |||
367 | #else | 360 | #else |
368 | CPU_FTRS_GENERIC_32 | | 361 | CPU_FTRS_GENERIC_32 | |
369 | #endif | 362 | #endif |
370 | #ifdef CONFIG_PPC64BRIDGE | ||
371 | CPU_FTRS_POWER3_32 | | ||
372 | #endif | ||
373 | #ifdef CONFIG_POWER4 | ||
374 | CPU_FTRS_POWER4_32 | CPU_FTRS_970_32 | | ||
375 | #endif | ||
376 | #ifdef CONFIG_8xx | 363 | #ifdef CONFIG_8xx |
377 | CPU_FTRS_8XX | | 364 | CPU_FTRS_8XX | |
378 | #endif | 365 | #endif |
@@ -412,12 +399,6 @@ enum { | |||
412 | #else | 399 | #else |
413 | CPU_FTRS_GENERIC_32 & | 400 | CPU_FTRS_GENERIC_32 & |
414 | #endif | 401 | #endif |
415 | #ifdef CONFIG_PPC64BRIDGE | ||
416 | CPU_FTRS_POWER3_32 & | ||
417 | #endif | ||
418 | #ifdef CONFIG_POWER4 | ||
419 | CPU_FTRS_POWER4_32 & CPU_FTRS_970_32 & | ||
420 | #endif | ||
421 | #ifdef CONFIG_8xx | 402 | #ifdef CONFIG_8xx |
422 | CPU_FTRS_8XX & | 403 | CPU_FTRS_8XX & |
423 | #endif | 404 | #endif |
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h index 80ae60481fb7..8915c4c3ecb3 100644 --- a/include/asm-ppc/mmu.h +++ b/include/asm-ppc/mmu.h | |||
@@ -31,20 +31,11 @@ typedef struct { | |||
31 | 31 | ||
32 | /* Hardware Page Table Entry */ | 32 | /* Hardware Page Table Entry */ |
33 | typedef struct _PTE { | 33 | typedef struct _PTE { |
34 | #ifdef CONFIG_PPC64BRIDGE | ||
35 | unsigned long long vsid:52; | ||
36 | unsigned long api:5; | ||
37 | unsigned long :5; | ||
38 | unsigned long h:1; | ||
39 | unsigned long v:1; | ||
40 | unsigned long long rpn:52; | ||
41 | #else /* CONFIG_PPC64BRIDGE */ | ||
42 | unsigned long v:1; /* Entry is valid */ | 34 | unsigned long v:1; /* Entry is valid */ |
43 | unsigned long vsid:24; /* Virtual segment identifier */ | 35 | unsigned long vsid:24; /* Virtual segment identifier */ |
44 | unsigned long h:1; /* Hash algorithm indicator */ | 36 | unsigned long h:1; /* Hash algorithm indicator */ |
45 | unsigned long api:6; /* Abbreviated page index */ | 37 | unsigned long api:6; /* Abbreviated page index */ |
46 | unsigned long rpn:20; /* Real (physical) page number */ | 38 | unsigned long rpn:20; /* Real (physical) page number */ |
47 | #endif /* CONFIG_PPC64BRIDGE */ | ||
48 | unsigned long :3; /* Unused */ | 39 | unsigned long :3; /* Unused */ |
49 | unsigned long r:1; /* Referenced */ | 40 | unsigned long r:1; /* Referenced */ |
50 | unsigned long c:1; /* Changed */ | 41 | unsigned long c:1; /* Changed */ |
@@ -85,11 +76,7 @@ typedef struct _P601_BATU { /* Upper part of BAT for 601 processor */ | |||
85 | } P601_BATU; | 76 | } P601_BATU; |
86 | 77 | ||
87 | typedef struct _BATU { /* Upper part of BAT (all except 601) */ | 78 | typedef struct _BATU { /* Upper part of BAT (all except 601) */ |
88 | #ifdef CONFIG_PPC64BRIDGE | ||
89 | unsigned long long bepi:47; | ||
90 | #else /* CONFIG_PPC64BRIDGE */ | ||
91 | unsigned long bepi:15; /* Effective page index (virtual address) */ | 79 | unsigned long bepi:15; /* Effective page index (virtual address) */ |
92 | #endif /* CONFIG_PPC64BRIDGE */ | ||
93 | unsigned long :4; /* Unused */ | 80 | unsigned long :4; /* Unused */ |
94 | unsigned long bl:11; /* Block size mask */ | 81 | unsigned long bl:11; /* Block size mask */ |
95 | unsigned long vs:1; /* Supervisor valid */ | 82 | unsigned long vs:1; /* Supervisor valid */ |
@@ -104,11 +91,7 @@ typedef struct _P601_BATL { /* Lower part of BAT for 601 processor */ | |||
104 | } P601_BATL; | 91 | } P601_BATL; |
105 | 92 | ||
106 | typedef struct _BATL { /* Lower part of BAT (all except 601) */ | 93 | typedef struct _BATL { /* Lower part of BAT (all except 601) */ |
107 | #ifdef CONFIG_PPC64BRIDGE | ||
108 | unsigned long long brpn:47; | ||
109 | #else /* CONFIG_PPC64BRIDGE */ | ||
110 | unsigned long brpn:15; /* Real page index (physical address) */ | 94 | unsigned long brpn:15; /* Real page index (physical address) */ |
111 | #endif /* CONFIG_PPC64BRIDGE */ | ||
112 | unsigned long :10; /* Unused */ | 95 | unsigned long :10; /* Unused */ |
113 | unsigned long w:1; /* Write-thru cache */ | 96 | unsigned long w:1; /* Write-thru cache */ |
114 | unsigned long i:1; /* Cache inhibit */ | 97 | unsigned long i:1; /* Cache inhibit */ |