blob: 48f13a4ace4b3fcb07d5cbaf5e64e72ac359fcfa [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Vineet Gupta3be80aa2013-01-18 15:12:17 +05302/*
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 *
Vineet Gupta3be80aa2013-01-18 15:12:17 +05305 * Amit Bhor, Sameer Dhavale: Codito Technologies 2004
6
7 */
8
9#ifndef _ASM_ARC_MODULE_H
10#define _ASM_ARC_MODULE_H
11
12#include <asm-generic/module.h>
13
Vineet Gupta854a0d92013-01-22 17:03:19 +053014struct mod_arch_specific {
Vineet Guptaeb1357d2017-01-16 10:48:09 -080015#ifdef CONFIG_ARC_DW2_UNWIND
Vineet Gupta854a0d92013-01-22 17:03:19 +053016 void *unw_info;
17 int unw_sec_idx;
Vineet Guptaeb1357d2017-01-16 10:48:09 -080018#endif
Vineet Guptad65283f2016-10-25 10:43:20 -070019 const char *secstr;
Vineet Gupta854a0d92013-01-22 17:03:19 +053020};
Vineet Gupta854a0d92013-01-22 17:03:19 +053021
Vineet Guptafa1c3ff2013-01-29 19:28:05 +053022#define MODULE_PROC_FAMILY "ARC700"
23
24#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
25
Vineet Gupta3be80aa2013-01-18 15:12:17 +053026#endif /* _ASM_ARC_MODULE_H */