forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2/smp-j2.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SMP support for J2 processor
34 *
45 * Copyright (C) 2015-2016 Smart Energy Instruments, Inc.
5
- *
6
- * This file is subject to the terms and conditions of the GNU General Public
7
- * License. See the file "COPYING" in the main directory of this archive
8
- * for more details.
96 */
107
118 #include <linux/smp.h>
....@@ -91,8 +88,8 @@
9188 if (!np) return;
9289
9390 if (of_property_read_u32_array(np, "cpu-release-addr", regs, 2)) return;
94
- release = ioremap_nocache(regs[0], sizeof(u32));
95
- initpc = ioremap_nocache(regs[1], sizeof(u32));
91
+ release = ioremap(regs[0], sizeof(u32));
92
+ initpc = ioremap(regs[1], sizeof(u32));
9693
9794 __raw_writel(entry_point, initpc);
9895 __raw_writel(1, release);