Skip to content

Commit

Permalink
x86: vdso: Put declaration before code
Browse files Browse the repository at this point in the history
Sigh, warnings are there for a reason.

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: John Stultz <[email protected]>
  • Loading branch information
KAGA-KOKO committed Mar 24, 2012
1 parent 5f29347 commit 68fe7b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/kernel/vsyscall_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68fe7b2

Please sign in to comment.