b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* |
2 | * (C) Copyright 2004, Psyent Corporation <www.psyent.com> | ||||
3 | * Scott McNutt <smcnutt@psyent.com> | ||||
4 | * | ||||
5 | * SPDX-License-Identifier: GPL-2.0+ | ||||
6 | */ | ||||
7 | #ifndef __ASM_NIOS2_GLOBALDATA_H_ | ||||
8 | #define __ASM_NIOS2_GLOBALDATA_H_ | ||||
9 | |||||
10 | /* Architecture-specific global data */ | ||||
11 | struct arch_global_data { | ||||
12 | }; | ||||
13 | |||||
14 | #include <asm-generic/global_data.h> | ||||
15 | |||||
16 | #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp") | ||||
17 | |||||
18 | #endif /* __ASM_NIOS2_GLOBALDATA_H_ */ |