Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/gerg/m68knommu

Pull m68knommu arch fixes from Greg Ungerer:
 "This contains a couple of fixes, both affecting compilation of non-mmu
  m68k targets."

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
  m68k: fix conditional use of init_pointer_table
  m68knommu: add KMAP definitions for non-MMU definitions
  • Loading branch information
Linus Torvalds committed Jan 18, 2013
2 parents 2f91ec8 + d6fccc7 commit b814469
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions arch/m68k/include/asm/pgtable_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ extern unsigned int kobjsize(const void *objp);
*/
#define VMALLOC_START 0
#define VMALLOC_END 0xffffffff
#define KMAP_START 0
#define KMAP_END 0xffffffff

#include <asm-generic/pgtable.h>

Expand Down
8 changes: 5 additions & 3 deletions arch/m68k/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
void *empty_zero_page;
EXPORT_SYMBOL(empty_zero_page);

#if !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
extern void init_pointer_table(unsigned long ptable);
extern pmd_t *zero_pgtable;
#endif

#ifdef CONFIG_MMU

pg_data_t pg_data_map[MAX_NUMNODES];
Expand Down Expand Up @@ -69,9 +74,6 @@ void __init m68k_setup_node(int node)
node_set_online(node);
}

extern void init_pointer_table(unsigned long ptable);
extern pmd_t *zero_pgtable;

#else /* CONFIG_MMU */

/*
Expand Down

0 comments on commit b814469

Please sign in to comment.