syscall_time: Handle by McKernel
refs: #1036 Change-Id: Ifa81b613c7ee8d95ae7cdf3dd54643f60526fa73
This commit is contained in:
committed by
Masamichi Takagi
parent
5e760db417
commit
c23bc8d401
@@ -484,6 +484,7 @@ int arch_setup_vdso(void);
|
||||
int arch_cpu_read_write_register(struct ihk_os_cpu_register *desc,
|
||||
enum mcctrl_os_cpu_operation op);
|
||||
struct vm_range_numa_policy *vm_range_policy_search(struct process_vm *vm, uintptr_t addr);
|
||||
void calculate_time_from_tsc(struct timespec *ts);
|
||||
time_t time(void);
|
||||
long do_futex(int n, unsigned long arg0, unsigned long arg1,
|
||||
unsigned long arg2, unsigned long arg3,
|
||||
|
||||
@@ -114,7 +114,6 @@ char *syscall_name[] MCKERNEL_UNUSED = {
|
||||
|
||||
static ihk_spinlock_t tod_data_lock = SPIN_LOCK_UNLOCKED;
|
||||
static unsigned long uti_desc; /* Address of struct uti_desc object in syscall_intercept.c */
|
||||
static void calculate_time_from_tsc(struct timespec *ts);
|
||||
|
||||
void save_syscall_return_value(int num, unsigned long rc);
|
||||
extern long alloc_debugreg(struct thread *thread);
|
||||
@@ -6954,7 +6953,7 @@ SYSCALL_DECLARE(get_cpu_id)
|
||||
return ihk_mc_get_processor_id();
|
||||
}
|
||||
|
||||
static void calculate_time_from_tsc(struct timespec *ts)
|
||||
void calculate_time_from_tsc(struct timespec *ts)
|
||||
{
|
||||
long ver;
|
||||
unsigned long current_tsc;
|
||||
|
||||
Reference in New Issue
Block a user