blob: d644e805863935e833f28395d2ff98566f294077 [file] [log] [blame]
Alexey Brodkin288aaac2014-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
10/* Architecture-specific global data */
11struct 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 */