forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/arc/include/asm/mach_desc.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
34 *
45 * based on METAG mach/arch.h (which in turn was based on ARM)
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 #ifndef _ASM_ARC_MACH_DESC_H_
....@@ -56,8 +53,7 @@
5653 */
5754 #define MACHINE_START(_type, _name) \
5855 static const struct machine_desc __mach_desc_##_type \
59
-__used \
60
-__attribute__((__section__(".arch.info.init"))) = { \
56
+__used __section(".arch.info.init") = { \
6157 .name = _name,
6258
6359 #define MACHINE_END \