| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/arm/include/asm/mach/arch.h |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <linux/types.h> |
|---|
| .. | .. |
|---|
| 84 | 81 | #define MACHINE_START(_type,_name) \ |
|---|
| 85 | 82 | static const struct machine_desc __mach_desc_##_type \ |
|---|
| 86 | 83 | __used \ |
|---|
| 87 | | - __attribute__((__section__(".arch.info.init"))) = { \ |
|---|
| 84 | + __section(".arch.info.init") = { \ |
|---|
| 88 | 85 | .nr = MACH_TYPE_##_type, \ |
|---|
| 89 | 86 | .name = _name, |
|---|
| 90 | 87 | |
|---|
| .. | .. |
|---|
| 94 | 91 | #define DT_MACHINE_START(_name, _namestr) \ |
|---|
| 95 | 92 | static const struct machine_desc __mach_desc_##_name \ |
|---|
| 96 | 93 | __used \ |
|---|
| 97 | | - __attribute__((__section__(".arch.info.init"))) = { \ |
|---|
| 94 | + __section(".arch.info.init") = { \ |
|---|
| 98 | 95 | .nr = ~0, \ |
|---|
| 99 | 96 | .name = _namestr, |
|---|
| 100 | 97 | |
|---|