- Subject: [tip:timers/core] x86: vdso: Put declaration before code
- From: tip-bot for Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Sat, 24 Mar 2012 01:46:00 -0700
- Cc: john.stultz@xxxxxxxxxx, luto@xxxxxxxxxxxxxx, hpa@xxxxxxxxx, mingo@xxxxxxxxxx, tglx@xxxxxxxxxxxxx
- Git-commit-id: 68fe7b23d559763a2e19e5fc1cf7036e4aaecb10
- Reply-to: linux-kernel@xxxxxxxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, luto@xxxxxxxxxxxxxx, john.stultz@xxxxxxxxxx, tglx@xxxxxxxxxxxxx
- Robot-id: <tip-bot.git.kernel.org>
- Robot-unsubscribe: Contact <mailto:hpa@xxxxxxxxxx> to get blacklisted from these emails
Commit-ID: 68fe7b23d559763a2e19e5fc1cf7036e4aaecb10
Gitweb: http://git.kernel.org/tip/68fe7b23d559763a2e19e5fc1cf7036e4aaecb10
Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
AuthorDate: Sat, 24 Mar 2012 09:29:22 +0100
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Sat, 24 Mar 2012 09:29:22 +0100
x86: vdso: Put declaration before code
Sigh, warnings are there for a reason.
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
Cc: John Stultz <john.stultz@xxxxxxxxxx>
---
arch/x86/kernel/vsyscall_64.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c
index 4285f1f..d5c6986 100644
--- a/arch/x86/kernel/vsyscall_64.c
+++ b/arch/x86/kernel/vsyscall_64.c
@@ -83,9 +83,10 @@ void update_vsyscall_tz(void)
void update_vsyscall(struct timespec *wall_time, struct timespec *wtm,
struct clocksource *clock, u32 mult)
{
- write_seqcount_begin(&vsyscall_gtod_data.seq);
struct timespec monotonic;
+ write_seqcount_begin(&vsyscall_gtod_data.seq);
+
/* copy vsyscall data */
vsyscall_gtod_data.clock.vclock_mode = clock->archdata.vclock_mode;
vsyscall_gtod_data.clock.cycle_last = clock->cycle_last;
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Video &Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]