diff options
| author | Greg Ungerer <gerg@snapgear.com> | 2003-05-25 04:20:46 -0700 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2003-05-25 04:20:46 -0700 |
| commit | bbafee460713a74277bb916cb5bb1271fe524a63 (patch) | |
| tree | 80877a71697efacd71e5427fab0635eddbd22a59 /include | |
| parent | 1bd9439b5774b7dde3e7523296e749c8949687f8 (diff) | |
[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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-m68knommu/pgtable.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-m68knommu/pgtable.h b/include/asm-m68knommu/pgtable.h index d94b149a7488..1d1f7e8488d3 100644 --- a/include/asm-m68knommu/pgtable.h +++ b/include/asm-m68knommu/pgtable.h @@ -38,6 +38,8 @@ extern void paging_init(void); #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) #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 * for zero-mapped memory areas etc.. @@ -56,4 +58,11 @@ extern int is_in_rom(unsigned long); #define pgtable_cache_init() do { } while (0) #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 */ |
