Alexey Brodkin | 544c5f5 | 2014-02-04 12:56:13 +0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_ARC_GLOBAL_DATA_H |
| 8 | #define __ASM_ARC_GLOBAL_DATA_H |
| 9 | |
Alexey Brodkin | db58eaa | 2016-07-04 11:37:55 +0300 | [diff] [blame] | 10 | #ifndef __ASSEMBLY__ |
Alexey Brodkin | 544c5f5 | 2014-02-04 12:56:13 +0400 | [diff] [blame] | 11 | /* Architecture-specific global data */ |
| 12 | struct arch_global_data { |
Alexey Brodkin | 544c5f5 | 2014-02-04 12:56:13 +0400 | [diff] [blame] | 13 | }; |
Alexey Brodkin | db58eaa | 2016-07-04 11:37:55 +0300 | [diff] [blame] | 14 | #endif /* __ASSEMBLY__ */ |
Alexey Brodkin | 544c5f5 | 2014-02-04 12:56:13 +0400 | [diff] [blame] | 15 | |
| 16 | #include <asm-generic/global_data.h> |
| 17 | |
| 18 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r25") |
| 19 | |
| 20 | #endif /* __ASM_ARC_GLOBAL_DATA_H */ |