blob: f0242f1ad6e340d8196fc0bec3a195221016381e [file] [log] [blame]
Alexey Brodkin544c5f52014-02-04 12:56:13 +04001/*
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 Brodkindb58eaa2016-07-04 11:37:55 +030010#ifndef __ASSEMBLY__
Alexey Brodkin544c5f52014-02-04 12:56:13 +040011/* Architecture-specific global data */
12struct arch_global_data {
Alexey Brodkin544c5f52014-02-04 12:56:13 +040013};
Alexey Brodkindb58eaa2016-07-04 11:37:55 +030014#endif /* __ASSEMBLY__ */
Alexey Brodkin544c5f52014-02-04 12:56:13 +040015
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 */