forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/arch/nds32/include/asm/memory.h
....@@ -1,4 +1,4 @@
1
-// SPDX-License-Identifier: GPL-2.0
1
+/* SPDX-License-Identifier: GPL-2.0 */
22 // Copyright (C) 2005-2017 Andes Technology Corporation
33
44 #ifndef __ASM_NDS32_MEMORY_H
....@@ -13,14 +13,6 @@
1313
1414 #ifndef PHYS_OFFSET
1515 #define PHYS_OFFSET (0x0)
16
-#endif
17
-
18
-#ifndef __virt_to_bus
19
-#define __virt_to_bus __virt_to_phys
20
-#endif
21
-
22
-#ifndef __bus_to_virt
23
-#define __bus_to_virt __phys_to_virt
2416 #endif
2517
2618 /*