lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 12 Jan 2011 11:31:11 GMT
From:	tip-bot for H Hartley Sweeten <hartleys@...ionengravers.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
	johnstul@...ibm.com, hartleys@...ionengravers.com,
	tglx@...utronix.de, hsweeten@...ionengravers.com
Subject: [tip:timers/urgent] timekeeping: Make local variables static

Commit-ID:  afa14e7c553ebe45844d76208f66017a43abd0e2
Gitweb:     http://git.kernel.org/tip/afa14e7c553ebe45844d76208f66017a43abd0e2
Author:     H Hartley Sweeten <hartleys@...ionengravers.com>
AuthorDate: Tue, 11 Jan 2011 17:59:38 -0600
Committer:  Thomas Gleixner <tglx@...utronix.de>
CommitDate: Wed, 12 Jan 2011 12:23:13 +0100

timekeeping: Make local variables static

Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: John Stultz <johnstul@...ibm.com>
LKML-Reference: <0D753D10438DA54287A00B027084269764CE0E54B7@...P01VMBX24.collaborationhost.net>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>

---
 kernel/time/timekeeping.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 5bb86da..eef7452 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ