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 | |||||
10 | /* Architecture-specific global data */ | ||||
11 | struct arch_global_data { | ||||
12 | int running_on_hw; | ||||
13 | }; | ||||
14 | |||||
15 | #include <asm-generic/global_data.h> | ||||
16 | |||||
17 | #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r25") | ||||
18 | |||||
19 | #endif /* __ASM_ARC_GLOBAL_DATA_H */ |