| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Port on Texas Instruments TMS320C6x architecture |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2004, 2009, 2010 Texas Instruments Incorporated |
|---|
| 5 | 6 | * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | #ifndef _ASM_C6X_PGTABLE_H |
|---|
| 12 | 9 | #define _ASM_C6X_PGTABLE_H |
|---|
| 13 | 10 | |
|---|
| 14 | | -#include <asm-generic/4level-fixup.h> |
|---|
| 11 | +#include <asm-generic/pgtable-nopud.h> |
|---|
| 15 | 12 | |
|---|
| 16 | 13 | #include <asm/setup.h> |
|---|
| 17 | 14 | #include <asm/page.h> |
|---|
| .. | .. |
|---|
| 29 | 26 | #define pgd_clear(pgdp) |
|---|
| 30 | 27 | #define kern_addr_valid(addr) (1) |
|---|
| 31 | 28 | |
|---|
| 32 | | -#define pmd_offset(a, b) ((void *)0) |
|---|
| 33 | 29 | #define pmd_none(x) (!pmd_val(x)) |
|---|
| 34 | 30 | #define pmd_present(x) (pmd_val(x)) |
|---|
| 35 | 31 | #define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0) |
|---|
| .. | .. |
|---|
| 63 | 59 | #define swapper_pg_dir ((pgd_t *) 0) |
|---|
| 64 | 60 | |
|---|
| 65 | 61 | /* |
|---|
| 66 | | - * No page table caches to initialise |
|---|
| 67 | | - */ |
|---|
| 68 | | -#define pgtable_cache_init() do { } while (0) |
|---|
| 69 | | - |
|---|
| 70 | | -/* |
|---|
| 71 | 62 | * c6x is !MMU, so define the simpliest implementation |
|---|
| 72 | 63 | */ |
|---|
| 73 | 64 | #define pgprot_writecombine pgprot_noncached |
|---|
| 74 | | - |
|---|
| 75 | | -#include <asm-generic/pgtable.h> |
|---|
| 76 | 65 | |
|---|
| 77 | 66 | #endif /* _ASM_C6X_PGTABLE_H */ |
|---|