hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/mtd/xip.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MTD primitives for XIP support
34 *
....@@ -7,10 +8,6 @@
78 *
89 * This XIP support for MTD has been loosely inspired
910 * by an earlier patch authored by David Woodhouse.
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License version 2 as
13
- * published by the Free Software Foundation.
1411 */
1512
1613 #ifndef __LINUX_MTD_XIP_H__
....@@ -31,7 +28,7 @@
3128 * those functions so they get relocated to ram.
3229 */
3330 #ifdef CONFIG_XIP_KERNEL
34
-#define __xipram noinline __attribute__ ((__section__ (".xiptext")))
31
+#define __xipram noinline __section(".xiptext")
3532 #endif
3633
3734 /*