Skip to content

Commit

Permalink
[MIPS] Fix yosemite build error
Browse files Browse the repository at this point in the history
<linux/mm.h> didn't pickup the definition of PKMAP_BASE from fixmap.h, ugh.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Mar 12, 2008
1 parent 234fcd1 commit 2ac7401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/asm-mips/highmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ extern pte_t *pkmap_page_table;
* easily, subsequent pte tables have to be allocated in one physical
* chunk of RAM.
*/
#define PKMAP_BASE (0xfe000000UL)
#define LAST_PKMAP 1024
#define LAST_PKMAP_MASK (LAST_PKMAP-1)
#define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
Expand Down
2 changes: 2 additions & 0 deletions include/asm-mips/pgtable-32.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ extern int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1,

#define VMALLOC_START MAP_BASE

#define PKMAP_BASE (0xfe000000UL)

#ifdef CONFIG_HIGHMEM
# define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
#else
Expand Down

0 comments on commit 2ac7401

Please sign in to comment.