summaryrefslogtreecommitdiff
path: root/arch/nds32/include/asm
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 14:37:17 +0800
committerGreentime Hu <greentime@andestech.com>2018-02-22 10:44:34 +0800
commitc9a4a8da6baae475994974398ff2eba8e92971d1 (patch)
tree7a615447e77eb1bb9bdbf653c06f9ce22ee7bb50 /arch/nds32/include/asm
parent3af6e29254cb5edf7cb1982081fce05797541633 (diff)
nds32: Loadable modules
This patch adds support for loadable modules. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/include/asm')
-rw-r--r--arch/nds32/include/asm/module.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/module.h b/arch/nds32/include/asm/module.h
new file mode 100644
index 000000000000..16cf9c7237ad
--- /dev/null
+++ b/arch/nds32/include/asm/module.h
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#ifndef _ASM_NDS32_MODULE_H
+#define _ASM_NDS32_MODULE_H
+
+#include <asm-generic/module.h>
+
+#define MODULE_ARCH_VERMAGIC "NDS32v3"
+
+#endif /* _ASM_NDS32_MODULE_H */