Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] kernel/time.c: add missing symbol exports

This patch adds 2 missing symbol exports: jiffies_to_timeval() and
timeval_to_jiffies(). The (not yet merged) dm-raid4-5 module will need
them, and they used to be indirectly exported by virtue of being inline
functions.

Commit 8b9365d753d9870bb6451504c13570b81923228f ("[PATCH] Uninline
jiffies.h functions") uninlined them, and thus modules now need them
explicitly exported to use them.

Signed-off-by: Thomas Bittermann <t.bittermann@online.de>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: john stultz <johnstul@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Thomas Bittermann and committed by
Linus Torvalds
456a09dc 8d00647f

+2
+2
kernel/time.c
··· 635 635 (((u64)usec * USEC_CONVERSION + USEC_ROUND) >> 636 636 (USEC_JIFFIE_SC - SEC_JIFFIE_SC))) >> SEC_JIFFIE_SC; 637 637 } 638 + EXPORT_SYMBOL(timeval_to_jiffies); 638 639 639 640 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) 640 641 { ··· 650 649 tv_usec /= NSEC_PER_USEC; 651 650 value->tv_usec = tv_usec; 652 651 } 652 + EXPORT_SYMBOL(jiffies_to_timeval); 653 653 654 654 /* 655 655 * Convert jiffies/jiffies_64 to clock_t and back.