From 15ac1e246adaf514d2dc63a8812388b93a9e4ad0 Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Sat, 22 Jun 2013 14:22:42 +0900 Subject: [PATCH] workaround for non-DCFA make suppress the following error: ihk/ihk.o: In function `generic_common_handlers': (.data+0x2678): undefined reference to `sys_mod_call' --- arch/x86/kernel/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/syscall.c b/arch/x86/kernel/syscall.c index 0a5232d1..abf17110 100644 --- a/arch/x86/kernel/syscall.c +++ b/arch/x86/kernel/syscall.c @@ -20,6 +20,7 @@ #include #undef SYSCALL_HANDLED #undef SYSCALL_DELEGATED +extern long sys_mod_call(int n, ihk_mc_user_context_t *ctx) __attribute__ ((weak)); /* generate syscall_table[] */ long (*syscall_table[])(int, ihk_mc_user_context_t *) = {