| .. | .. |
|---|
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | 2 | #ifndef _H8300_PGTABLE_H |
|---|
| 3 | 3 | #define _H8300_PGTABLE_H |
|---|
| 4 | | -#define __ARCH_USE_5LEVEL_HACK |
|---|
| 5 | 4 | #include <asm-generic/pgtable-nopud.h> |
|---|
| 6 | | -#include <asm-generic/pgtable.h> |
|---|
| 7 | | -#define pgtable_cache_init() do { } while (0) |
|---|
| 8 | 5 | extern void paging_init(void); |
|---|
| 9 | 6 | #define PAGE_NONE __pgprot(0) /* these mean nothing to NO_MM */ |
|---|
| 10 | 7 | #define PAGE_SHARED __pgprot(0) /* these mean nothing to NO_MM */ |
|---|
| .. | .. |
|---|
| 33 | 30 | */ |
|---|
| 34 | 31 | extern unsigned int kobjsize(const void *objp); |
|---|
| 35 | 32 | extern int is_in_rom(unsigned long); |
|---|
| 36 | | - |
|---|
| 37 | | -/* |
|---|
| 38 | | - * No page table caches to initialise |
|---|
| 39 | | - */ |
|---|
| 40 | | -#define pgtable_cache_init() do { } while (0) |
|---|
| 41 | 33 | |
|---|
| 42 | 34 | /* |
|---|
| 43 | 35 | * All 32bit addresses are effectively valid for vmalloc... |
|---|