ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds
[linux-2.6-block.git] / arch / arc / include / asm / module.h
CommitLineData
3be80aae
VG
1/*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * Amit Bhor, Sameer Dhavale: Codito Technologies 2004
9
10 */
11
12#ifndef _ASM_ARC_MODULE_H
13#define _ASM_ARC_MODULE_H
14
15#include <asm-generic/module.h>
16
854a0d95 17struct mod_arch_specific {
eb1357d9 18#ifdef CONFIG_ARC_DW2_UNWIND
854a0d95
VG
19 void *unw_info;
20 int unw_sec_idx;
eb1357d9 21#endif
d65283f7 22 const char *secstr;
854a0d95 23};
854a0d95 24
fa1c3ff9
VG
25#define MODULE_PROC_FAMILY "ARC700"
26
27#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
28
3be80aae 29#endif /* _ASM_ARC_MODULE_H */