hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm/include/asm/mach/arch.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/asm/mach/arch.h
34 *
45 * Copyright (C) 2000 Russell King
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <linux/types.h>
....@@ -84,7 +81,7 @@
8481 #define MACHINE_START(_type,_name) \
8582 static const struct machine_desc __mach_desc_##_type \
8683 __used \
87
- __attribute__((__section__(".arch.info.init"))) = { \
84
+ __section(".arch.info.init") = { \
8885 .nr = MACH_TYPE_##_type, \
8986 .name = _name,
9087
....@@ -94,7 +91,7 @@
9491 #define DT_MACHINE_START(_name, _namestr) \
9592 static const struct machine_desc __mach_desc_##_name \
9693 __used \
97
- __attribute__((__section__(".arch.info.init"))) = { \
94
+ __section(".arch.info.init") = { \
9895 .nr = ~0, \
9996 .name = _namestr,
10097