ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds
[linux-2.6-block.git] / arch / arc / include / asm / module.h
... / ...
CommitLineData
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
17struct mod_arch_specific {
18#ifdef CONFIG_ARC_DW2_UNWIND
19 void *unw_info;
20 int unw_sec_idx;
21#endif
22 const char *secstr;
23};
24
25#define MODULE_PROC_FAMILY "ARC700"
26
27#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
28
29#endif /* _ASM_ARC_MODULE_H */