Skip to content

Commit f185063

Browse files
jmberg-intelrichardweinberger
authored andcommitted
um: Move timer-internal.h to non-shared
This file isn't really shared, it's only used on the kernel side, not on the user side. Remove the include from the user-side and move the file to a better place. While at it, rename it to time-internal.h, it's not really just timers but all kinds of things related to timekeeping. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent b58c4e9 commit f185063

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

arch/um/kernel/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include <kern_util.h>
3333
#include <os.h>
3434
#include <skas.h>
35-
#include <timer-internal.h>
35+
#include <linux/time-internal.h>
3636

3737
/*
3838
* This is a per-cpu array. A processor only modifies its entry and it only

arch/um/kernel/skas/syscall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <sysdep/ptrace.h>
1111
#include <sysdep/ptrace_user.h>
1212
#include <sysdep/syscalls.h>
13-
#include <shared/timer-internal.h>
13+
#include <linux/time-internal.h>
1414

1515
void handle_syscall(struct uml_pt_regs *r)
1616
{

arch/um/kernel/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <asm/param.h>
1919
#include <kern_util.h>
2020
#include <os.h>
21-
#include <timer-internal.h>
21+
#include <linux/time-internal.h>
2222
#include <shared/init.h>
2323

2424
#ifdef CONFIG_UML_TIME_TRAVEL_SUPPORT

arch/um/os-Linux/time.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <kern_util.h>
1515
#include <os.h>
1616
#include <string.h>
17-
#include <timer-internal.h>
1817

1918
static timer_t event_high_res_timer = 0;
2019

0 commit comments

Comments
 (0)