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>
/* Structure holding internal timekeeping values. */
struct timekeeper {
/* Current clocksource used for timekeeping. */
/* Structure holding internal timekeeping values. */
struct timekeeper {
/* Current clocksource used for timekeeping. */
- struct clocksource *clock;
+ struct clocksource *clock;
/* NTP adjusted clock multiplier */
/* NTP adjusted clock multiplier */
/* The shift value of the current clocksource. */
/* The shift value of the current clocksource. */
/* 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. */
/* shifted nano seconds left over when rounding cycle_interval */
/* shifted nano seconds left over when rounding cycle_interval */
/* Raw nano seconds accumulated per NTP interval. */
/* Raw nano seconds accumulated per NTP interval. */
/* Clock shifted nano seconds remainder not stored in xtime.tv_nsec. */
/* Clock shifted nano seconds remainder not stored in xtime.tv_nsec. */
/* Difference between accumulated time and NTP time in ntp
* shifted nano seconds. */
/* Difference between accumulated time and NTP time in ntp
* shifted nano seconds. */
/* Shift conversion between clock shifted nano seconds and
* ntp shifted nano seconds. */
/* Shift conversion between clock shifted nano seconds and
* ntp shifted nano seconds. */
/*
* wall_to_monotonic is what we need to add to xtime (or xtime corrected
* for sub jiffie times) to get to monotonic time. Monotonic is pegged
/*
* wall_to_monotonic is what we need to add to xtime (or xtime corrected
* for sub jiffie times) to get to monotonic time. Monotonic is pegged
* - wall_to_monotonic is no longer the boot time, getboottime must be
* used instead.
*/
* - wall_to_monotonic is no longer the boot time, getboottime must be
* used instead.
*/
- struct timespec wall_to_monotonic;
+ struct timespec wall_to_monotonic;
/* time spent in suspend */
/* time spent in suspend */
- 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 */
/* Offset clock monotonic -> clock boottime */
/* Offset clock monotonic -> clock boottime */
/* Seqlock for all timekeeper values */
/* Seqlock for all timekeeper values */
};
static struct timekeeper timekeeper;
};
static struct timekeeper timekeeper;
{
unsigned long seq;
u64 ret;
{
unsigned long seq;
u64 ret;
do {
seq = read_seqbegin(&timekeeper.lock);
do {
seq = read_seqbegin(&timekeeper.lock);