mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
jiffies: Kill unused TICK_USEC_TO_NSEC
No one is using TICK_USEC_TO_NSEC, so kill it. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
a65bcc12ad
commit
7916a1f14f
1 changed files with 0 additions and 6 deletions
|
@ -70,12 +70,6 @@
|
||||||
/* TICK_USEC is the time between ticks in usec assuming fake USER_HZ */
|
/* TICK_USEC is the time between ticks in usec assuming fake USER_HZ */
|
||||||
#define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
|
#define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
|
||||||
|
|
||||||
/*
|
|
||||||
* TICK_USEC_TO_NSEC is the time between ticks in nsec assuming SHIFTED_HZ and
|
|
||||||
* a value TUSEC for TICK_USEC (can be set bij adjtimex)
|
|
||||||
*/
|
|
||||||
#define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV(TUSEC * USER_HZ * 1000, SHIFTED_HZ, 8))
|
|
||||||
|
|
||||||
/* some arch's have a small-data section that can be accessed register-relative
|
/* some arch's have a small-data section that can be accessed register-relative
|
||||||
* but that can only take up to, say, 4-byte variables. jiffies being part of
|
* but that can only take up to, say, 4-byte variables. jiffies being part of
|
||||||
* an 8-byte variable may not be correctly accessed unless we force the issue
|
* an 8-byte variable may not be correctly accessed unless we force the issue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue