Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297380
b: refs/heads/master
c: a4ca129
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and John Stultz committed Mar 16, 2012
1 parent a93039e commit 73ed472
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f695cf94837de53864180400cbac42cfa370426f
refs/heads/master: a4ca1298d8a0472a45624fa5fb99f90f0f367187
6 changes: 0 additions & 6 deletions trunk/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz)
return error;

if (tz) {
/* SMP safe, global irq locking makes it work. */
sys_tz = *tz;
update_vsyscall_tz();
if (firsttime) {
Expand All @@ -173,12 +172,7 @@ int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz)
}
}
if (tv)
{
/* SMP safe, again the code in arch/foo/time.c should
* globally block out interrupts when it runs.
*/
return do_settimeofday(tv);
}
return 0;
}

Expand Down

0 comments on commit 73ed472

Please sign in to comment.