Skip to contentSkip to conversation

cleanup: time.h, times.h, timex.h and jiffies.h.

PATCH New Martin Schwidefsky 1 participant 1 message Sep 10, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

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
diff -urN linux-2.6/arch/x86_64/kernel/vsyscall.c linux-2.6-patched/arch/x86_64/kernel/vsyscall.c
@@ -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