forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/arm/include/asm/tcm.h
....@@ -1,11 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 *
34 * Copyright (C) 2008-2009 ST-Ericsson AB
4
- * License terms: GNU General Public License (GPL) version 2
55 *
66 * Author: Rickard Andersson <rickard.andersson@stericsson.com>
77 * Author: Linus Walleij <linus.walleij@stericsson.com>
8
- *
98 */
109 #ifndef __ASMARM_TCM_H
1110 #define __ASMARM_TCM_H
....@@ -17,13 +16,13 @@
1716 #include <linux/compiler.h>
1817
1918 /* Tag variables with this */
20
-#define __tcmdata __section(.tcm.data)
19
+#define __tcmdata __section(".tcm.data")
2120 /* Tag constants with this */
22
-#define __tcmconst __section(.tcm.rodata)
21
+#define __tcmconst __section(".tcm.rodata")
2322 /* Tag functions inside TCM called from outside TCM with this */
24
-#define __tcmfunc __attribute__((long_call)) __section(.tcm.text) noinline
23
+#define __tcmfunc __attribute__((long_call)) __section(".tcm.text") noinline
2524 /* Tag function inside TCM called from inside TCM with this */
26
-#define __tcmlocalfunc __section(.tcm.text)
25
+#define __tcmlocalfunc __section(".tcm.text")
2726
2827 void *tcm_alloc(size_t len);
2928 void tcm_free(void *addr, size_t len);