timekeeping: Make local variables static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Jan 2011 23:59:38 +0000 (17:59 -0600)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 12 Jan 2011 11:23:13 +0000 (12:23 +0100)
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>
kernel/time/timekeeping.c

index 5bb86da8200373a2e6cd64fdcbe0355f43f5a27f..eef7452bd8a96147a6d0703bcdb4205cd22e84f5 100644 (file)
@@ -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.
@@ -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;