mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
time: Whitespace cleanups per Ingo%27s requests
Ingo noted a number of places where there is inconsistent use of whitespace. This patch tries to address the main culprits. Signed-off-by: John Stultz <john.stultz@linaro.org> Reviewed-by: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Link: http://lkml.kernel.org/r/1342156917-25092-3-git-send-email-john.stultz@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
e8b9dd7e24
commit
42e71e81f5
1 changed files with 18 additions and 21 deletions
|
@ -29,7 +29,6 @@ struct timekeeper {
|
||||||
u32 mult;
|
u32 mult;
|
||||||
/* The shift value of the current clocksource. */
|
/* The shift value of the current clocksource. */
|
||||||
int shift;
|
int shift;
|
||||||
|
|
||||||
/* Number of clock cycles in one NTP interval. */
|
/* Number of clock cycles in one NTP interval. */
|
||||||
cycle_t cycle_interval;
|
cycle_t cycle_interval;
|
||||||
/* Number of clock shifted nano seconds in one NTP interval. */
|
/* Number of clock shifted nano seconds in one NTP interval. */
|
||||||
|
@ -69,13 +68,10 @@ struct timekeeper {
|
||||||
struct timespec total_sleep_time;
|
struct timespec total_sleep_time;
|
||||||
/* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */
|
/* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock. */
|
||||||
struct timespec raw_time;
|
struct timespec raw_time;
|
||||||
|
|
||||||
/* Offset clock monotonic -> clock realtime */
|
/* Offset clock monotonic -> clock realtime */
|
||||||
ktime_t offs_real;
|
ktime_t offs_real;
|
||||||
|
|
||||||
/* Offset clock monotonic -> clock boottime */
|
/* Offset clock monotonic -> clock boottime */
|
||||||
ktime_t offs_boot;
|
ktime_t offs_boot;
|
||||||
|
|
||||||
/* Seqlock for all timekeeper values */
|
/* Seqlock for all timekeeper values */
|
||||||
seqlock_t lock;
|
seqlock_t lock;
|
||||||
};
|
};
|
||||||
|
@ -547,6 +543,7 @@ u64 timekeeping_max_deferment(void)
|
||||||
{
|
{
|
||||||
unsigned long seq;
|
unsigned long seq;
|
||||||
u64 ret;
|
u64 ret;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
seq = read_seqbegin(&timekeeper.lock);
|
seq = read_seqbegin(&timekeeper.lock);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue