From 75b51ec0c1fb7107b55c853df0c8d2d8a7d81ade Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Mon, 24 Jun 2013 16:27:35 +0900 Subject: [PATCH] delete SYSCALL_DECLARE(process_data_section) --- arch/x86/kernel/include/syscall_list.h | 1 - kernel/syscall.c | 8 -------- 2 files changed, 9 deletions(-) diff --git a/arch/x86/kernel/include/syscall_list.h b/arch/x86/kernel/include/syscall_list.h index ba02600b..32f8977f 100644 --- a/arch/x86/kernel/include/syscall_list.h +++ b/arch/x86/kernel/include/syscall_list.h @@ -60,7 +60,6 @@ SYSCALL_HANDLED(273, set_robust_list) #ifdef DCFA_KMOD SYSCALL_HANDLED(303, mod_call) #endif -SYSCALL_HANDLED(502, process_data_section) SYSCALL_HANDLED(601, pmc_init) SYSCALL_HANDLED(602, pmc_start) SYSCALL_HANDLED(603, pmc_stop) diff --git a/kernel/syscall.c b/kernel/syscall.c index 8e734353..b0e7f953 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -821,14 +821,6 @@ static void do_mod_exit(int status){ } #endif -SYSCALL_DECLARE(process_data_section) { - unsigned long s = cpu_local_var(current)->vm->region.data_start; - unsigned long e = cpu_local_var(current)->vm->region.data_end; - *((unsigned long*)ihk_mc_syscall_arg0(ctx)) = s; - *((unsigned long*)ihk_mc_syscall_arg1(ctx)) = e; - return 0; -} - /* select counter type */ SYSCALL_DECLARE(pmc_init) {