forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/mm/nommu.c
....@@ -1,17 +1,15 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * arch/sh/mm/nommu.c
34 *
45 * Various helper routines and stubs for MMUless SH.
56 *
67 * Copyright (C) 2002 - 2009 Paul Mundt
7
- *
8
- * Released under the terms of the GNU GPL v2.0.
98 */
109 #include <linux/kernel.h>
1110 #include <linux/init.h>
1211 #include <linux/string.h>
1312 #include <linux/mm.h>
14
-#include <asm/pgtable.h>
1513 #include <asm/tlbflush.h>
1614 #include <asm/page.h>
1715 #include <linux/uaccess.h>
....@@ -96,9 +94,5 @@
9694 }
9795
9896 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
99
-{
100
-}
101
-
102
-void pgtable_cache_init(void)
10397 {
10498 }