Commit bbafee46 authored by Greg Ungerer's avatar Greg Ungerer Committed by Jaroslav Kysela

[PATCH] add dummy VMALLOC_ defines to m68knommu

Add dummy VMALLOC_START and VMALLOC_END defines to m68knommu architectures.
Some code in the proc filesystem breaks without them now.
parent 1bd9439b
...@@ -38,6 +38,8 @@ extern void paging_init(void); ...@@ -38,6 +38,8 @@ extern void paging_init(void);
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
#define __swp_entry_to_pte(x) ((pte_t) { (x).val }) #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
static inline int pte_file(pte_t pte) { return 0; }
/* /*
* ZERO_PAGE is a global shared page that is always zero: used * ZERO_PAGE is a global shared page that is always zero: used
* for zero-mapped memory areas etc.. * for zero-mapped memory areas etc..
...@@ -56,4 +58,11 @@ extern int is_in_rom(unsigned long); ...@@ -56,4 +58,11 @@ extern int is_in_rom(unsigned long);
#define pgtable_cache_init() do { } while (0) #define pgtable_cache_init() do { } while (0)
#define io_remap_page_range remap_page_range #define io_remap_page_range remap_page_range
/*
* All 32bit addresses are effectively valid for vmalloc...
* Sort of meaningless for non-VM targets.
*/
#define VMALLOC_START 0
#define VMALLOC_END 0xffffffff
#endif /* _M68KNOMMU_PGTABLE_H */ #endif /* _M68KNOMMU_PGTABLE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment