diff options
author | Kyle McMartin <kyle@shortfin.cabal.ca> | 2008-02-18 17:13:43 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@shortfin.cabal.ca> | 2008-03-15 22:11:49 -0400 |
commit | d912e1dc8bb5718c3603beb43d0770dac0271374 (patch) | |
tree | 5bcaa8ed8b2946860dda4bd86ee366bbed2e3948 /include | |
parent | ff80c66ab637df825122558d1f3f3cbdd830f962 (diff) |
[PARISC] move VMALLOC_* definitions to fixmap.h
They make way more sense here, really...
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-parisc/fixmap.h | 9 | ||||
-rw-r--r-- | include/asm-parisc/pgtable.h | 8 |
2 files changed, 8 insertions, 9 deletions
diff --git a/include/asm-parisc/fixmap.h b/include/asm-parisc/fixmap.h index a5caf4b122b7..de3fe3a18229 100644 --- a/include/asm-parisc/fixmap.h +++ b/include/asm-parisc/fixmap.h | |||
@@ -20,4 +20,11 @@ | |||
20 | #define KERNEL_MAP_START (GATEWAY_PAGE_SIZE) | 20 | #define KERNEL_MAP_START (GATEWAY_PAGE_SIZE) |
21 | #define KERNEL_MAP_END (TMPALIAS_MAP_START) | 21 | #define KERNEL_MAP_END (TMPALIAS_MAP_START) |
22 | 22 | ||
23 | #endif | 23 | #ifndef __ASSEMBLY__ |
24 | extern void *vmalloc_start; | ||
25 | #define PCXL_DMA_MAP_SIZE (8*1024*1024) | ||
26 | #define VMALLOC_START ((unsigned long)vmalloc_start) | ||
27 | #define VMALLOC_END (KERNEL_MAP_END) | ||
28 | #endif /*__ASSEMBLY__*/ | ||
29 | |||
30 | #endif /*_ASM_FIXMAP_H*/ | ||
diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h index cd0fa4f73320..dc86adbec916 100644 --- a/include/asm-parisc/pgtable.h +++ b/include/asm-parisc/pgtable.h | |||
@@ -116,14 +116,6 @@ | |||
116 | 116 | ||
117 | #define FIRST_USER_ADDRESS 0 | 117 | #define FIRST_USER_ADDRESS 0 |
118 | 118 | ||
119 | #ifndef __ASSEMBLY__ | ||
120 | extern void *vmalloc_start; | ||
121 | #define PCXL_DMA_MAP_SIZE (8*1024*1024) | ||
122 | #define VMALLOC_START ((unsigned long)vmalloc_start) | ||
123 | /* this is a fixmap remnant, see fixmap.h */ | ||
124 | #define VMALLOC_END (KERNEL_MAP_END) | ||
125 | #endif | ||
126 | |||
127 | /* NB: The tlb miss handlers make certain assumptions about the order */ | 119 | /* NB: The tlb miss handlers make certain assumptions about the order */ |
128 | /* of the following bits, so be careful (One example, bits 25-31 */ | 120 | /* of the following bits, so be careful (One example, bits 25-31 */ |
129 | /* are moved together in one instruction). */ | 121 | /* are moved together in one instruction). */ |