Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / include / asm-parisc / fixmap.h
bloba8446f945b27646348b8c0a2e85750f6bdd8c6f3
1 #ifndef _ASM_FIXMAP_H
2 #define _ASM_FIXMAP_H
4 /*
5 * This file defines the locations of the fixed mappings on parisc.
7 * All of the values in this file are machine virtual addresses.
9 * All of the values in this file must be <4GB (because of assembly
10 * loading restrictions). If you place this region anywhere above
11 * __PAGE_OFFSET, you must adjust the memory map accordingly */
13 /* The alias region is used in kernel space to do copy/clear to or
14 * from areas congruently mapped with user space. It is 8MB large
15 * and must be 16MB aligned */
16 #define TMPALIAS_MAP_START ((__PAGE_OFFSET) - 16*1024*1024)
17 /* This is the kernel area for all maps (vmalloc, dma etc.) most
18 * usually, it extends up to TMPALIAS_MAP_START. Virtual addresses
19 * 0..GATEWAY_PAGE_SIZE are reserved for the gateway page */
20 #define KERNEL_MAP_START (GATEWAY_PAGE_SIZE)
21 #define KERNEL_MAP_END (TMPALIAS_MAP_START)
23 <<<<<<< HEAD:include/asm-parisc/fixmap.h
24 #endif
25 =======
26 #ifndef __ASSEMBLY__
27 extern void *vmalloc_start;
28 #define PCXL_DMA_MAP_SIZE (8*1024*1024)
29 #define VMALLOC_START ((unsigned long)vmalloc_start)
30 #define VMALLOC_END (KERNEL_MAP_END)
31 #endif /*__ASSEMBLY__*/
33 #endif /*_ASM_FIXMAP_H*/
34 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:include/asm-parisc/fixmap.h