aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300')
-rw-r--r--arch/mn10300/kernel/entry.S6
-rw-r--r--arch/mn10300/kernel/module.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S
index 11de3606eee6..b7cbb1487af4 100644
--- a/arch/mn10300/kernel/entry.S
+++ b/arch/mn10300/kernel/entry.S
@@ -716,6 +716,12 @@ ENTRY(sys_call_table)
716 .long sys_fallocate /* 325 */ 716 .long sys_fallocate /* 325 */
717 .long sys_timerfd_settime 717 .long sys_timerfd_settime
718 .long sys_timerfd_gettime 718 .long sys_timerfd_gettime
719 .long sys_signalfd4
720 .long sys_eventfd2
721 .long sys_epoll_create1 /* 330 */
722 .long sys_dup3
723 .long sys_pipe2
724 .long sys_inotify_init1
719 725
720 726
721nr_syscalls=(.-sys_call_table)/4 727nr_syscalls=(.-sys_call_table)/4
diff --git a/arch/mn10300/kernel/module.c b/arch/mn10300/kernel/module.c
index 0e4d2f6fa6e8..8fa36893df7a 100644
--- a/arch/mn10300/kernel/module.c
+++ b/arch/mn10300/kernel/module.c
@@ -24,6 +24,7 @@
24#include <linux/fs.h> 24#include <linux/fs.h>
25#include <linux/string.h> 25#include <linux/string.h>
26#include <linux/kernel.h> 26#include <linux/kernel.h>
27#include <linux/bug.h>
27 28
28#if 0 29#if 0
29#define DEBUGP printk 30#define DEBUGP printk
@@ -195,7 +196,7 @@ int module_finalize(const Elf_Ehdr *hdr,
195 const Elf_Shdr *sechdrs, 196 const Elf_Shdr *sechdrs,
196 struct module *me) 197 struct module *me)
197{ 198{
198 return 0; 199 return module_bug_finalize(hdr, sechdrs, me);
199} 200}
200 201
201/* 202/*
@@ -203,4 +204,5 @@ int module_finalize(const Elf_Ehdr *hdr,
203 */ 204 */
204void module_arch_cleanup(struct module *mod) 205void module_arch_cleanup(struct module *mod)
205{ 206{
207 module_bug_cleanup(mod);
206} 208}