global_data.h 471 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002-2010
  4. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  5. *
  6. * (C) Copyright 2007
  7. * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  8. */
  9. #ifndef __ASM_SH_GLOBALDATA_H_
  10. #define __ASM_SH_GLOBALDATA_H_
  11. /* Architecture-specific global data */
  12. struct arch_global_data {
  13. };
  14. #include <asm-generic/global_data.h>
  15. #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("r13")
  16. #endif /* __ASM_SH_GLOBALDATA_H_ */