Skip to content

Commit

Permalink
[PARISC] move VMALLOC_* definitions to fixmap.h
Browse files Browse the repository at this point in the history
They make way more sense here, really...

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Kyle McMartin committed Mar 16, 2008
1 parent ff80c66 commit d912e1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 8 additions & 1 deletion include/asm-parisc/fixmap.h
Expand Up @@ -20,4 +20,11 @@
#define KERNEL_MAP_START (GATEWAY_PAGE_SIZE)
#define KERNEL_MAP_END (TMPALIAS_MAP_START)

#endif
#ifndef __ASSEMBLY__
extern void *vmalloc_start;
#define PCXL_DMA_MAP_SIZE (8*1024*1024)
#define VMALLOC_START ((unsigned long)vmalloc_start)
#define VMALLOC_END (KERNEL_MAP_END)
#endif /*__ASSEMBLY__*/

#endif /*_ASM_FIXMAP_H*/
8 changes: 0 additions & 8 deletions include/asm-parisc/pgtable.h
Expand Up @@ -116,14 +116,6 @@

#define FIRST_USER_ADDRESS 0

#ifndef __ASSEMBLY__
extern void *vmalloc_start;
#define PCXL_DMA_MAP_SIZE (8*1024*1024)
#define VMALLOC_START ((unsigned long)vmalloc_start)
/* this is a fixmap remnant, see fixmap.h */
#define VMALLOC_END (KERNEL_MAP_END)
#endif

/* NB: The tlb miss handlers make certain assumptions about the order */
/* of the following bits, so be careful (One example, bits 25-31 */
/* are moved together in one instruction). */
Expand Down

0 comments on commit d912e1d

Please sign in to comment.