Skip to content

Commit

Permalink
timekeeping: Make local variables static
Browse files Browse the repository at this point in the history
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <0D753D10438DA54287A00B027084269764CE0E54B7@AUSP01VMBX24.collaborationhost.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
H Hartley Sweeten authored and Thomas Gleixner committed Jan 12, 2011
1 parent 5fdade9 commit afa14e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/time/timekeeping.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct timekeeper {
u32 mult;
};

struct timekeeper timekeeper;
static struct timekeeper timekeeper;

/**
* timekeeper_setup_internals - Set up internals to use clocksource clock.
Expand Down Expand Up @@ -164,7 +164,7 @@ static struct timespec total_sleep_time;
/*
* The raw monotonic time for the CLOCK_MONOTONIC_RAW posix clock.
*/
struct timespec raw_time;
static struct timespec raw_time;

/* flag for if timekeeping is suspended */
int __read_mostly timekeeping_suspended;
Expand Down

0 comments on commit afa14e7

Please sign in to comment.