cleanup: time.h, times.h, timex.h and jiffies.h.
PATCH 1/1 cleanup: time.h, times.h, timex.h and jiffies.h.
[PATCH] cleanup: time.h, times.h, timex.h and jiffies.h.
From: Martin Schwidefsky <[email protected]>
This patch moves some definitions among time.h, times.h, timex.h and jiffies.h. The purpose is to sort all jiffies related functions to jiffies.h, to get rid of the cyclic dependency between time.h & timex.h and to move all #include lines to the start of the header files.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
arch/x86_64/kernel/vsyscall.c | 1 include/linux/jiffies.h | 350 +++++++++++++++++++++++++++++++++++++++++- include/linux/time.h | 260 ------------------------------- include/linux/times.h | 54 ------ include/linux/timex.h | 63 ------- 5 files changed, 359 insertions(+), 369 deletions(-)
arch/x86_64/kernel/vsyscall.c +1 -0
@@ -40,6 +40,7 @@#include <linux/kernel.h> #include <linux/timer.h> #include <linux/seqlock.h> +#include <linux/jiffies.h> #include <asm/vsyscall.h> #include <asm/pgtable.h>
include/linux/jiffies.h +347 -3
361 lines not on this page · raw message
include/linux/time.h +8 -252
292 lines not on this page · raw message
include/linux/times.h +1 -53
60 lines not on this page · raw message
include/linux/timex.h +2 -61
78 lines not on this page · raw message