Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48412
b: refs/heads/master
c: 5809f9d
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and Andi Kleen committed Feb 13, 2007
1 parent eb0ffab commit 5c0f9d4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 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: 26054ed02bb20f5b2e02d92cb6f0be0e2b0196d5
refs/heads/master: 5809f9d442e9dbb23859e2c37d8c47043f6b5cc9
5 changes: 0 additions & 5 deletions trunk/include/asm-x86_64/vsyscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ extern struct vxtime_data vxtime;
extern int vgetcpu_mode;
extern struct timezone sys_tz;
extern int sysctl_vsyscall;
extern seqlock_t xtime_lock;

extern int sysctl_vsyscall;

#define ARCH_HAVE_XTIME_LOCK 1

#endif /* __KERNEL__ */

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static inline struct timespec timespec_sub(struct timespec lhs,

extern struct timespec xtime;
extern struct timespec wall_to_monotonic;
extern seqlock_t xtime_lock;
extern seqlock_t xtime_lock __attribute__((weak));

void timekeeping_init(void);

Expand Down
4 changes: 1 addition & 3 deletions trunk/kernel/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1162,11 +1162,9 @@ static inline void calc_load(unsigned long ticks)
* This read-write spinlock protects us from races in SMP while
* playing with xtime and avenrun.
*/
#ifndef ARCH_HAVE_XTIME_LOCK
__cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock);
__attribute__((weak)) __cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock);

EXPORT_SYMBOL(xtime_lock);
#endif

/*
* This function runs timers and the timer-tq in bottom half context.
Expand Down

0 comments on commit 5c0f9d4

Please sign in to comment.