diff options
| author | David S. Miller <davem@davemloft.net> | 2012-11-10 18:32:51 -0500 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-11-10 18:32:51 -0500 | 
| commit | d4185bbf62a5d8d777ee445db1581beb17882a07 (patch) | |
| tree | 024b0badbd7c970b1983be6d8c345cc4a290cb31 /arch/arm64/kernel/vdso.c | |
| parent | c075b13098b399dc565b4d53f42047a8d40ed3ba (diff) | |
| parent | a375413311b39005ef281bfd71ae8f4e3df22e97 (diff) | |
| download | olio-linux-3.10-d4185bbf62a5d8d777ee445db1581beb17882a07.tar.xz olio-linux-3.10-d4185bbf62a5d8d777ee445db1581beb17882a07.zip  | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
	drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Minor conflict between the BCM_CNIC define removal in net-next
and a bug fix added to net.  Based upon a conflict resolution
patch posted by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64/kernel/vdso.c')
| -rw-r--r-- | arch/arm64/kernel/vdso.c | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c index 17948fc7d66..ba457943a16 100644 --- a/arch/arm64/kernel/vdso.c +++ b/arch/arm64/kernel/vdso.c @@ -28,6 +28,7 @@  #include <linux/sched.h>  #include <linux/signal.h>  #include <linux/slab.h> +#include <linux/timekeeper_internal.h>  #include <linux/vmalloc.h>  #include <asm/cacheflush.h> @@ -222,11 +223,10 @@ struct vm_area_struct *get_gate_vma(struct mm_struct *mm)  /*   * Update the vDSO data page to keep in sync with kernel timekeeping.   */ -void update_vsyscall(struct timespec *ts, struct timespec *wtm, -		     struct clocksource *clock, u32 mult) +void update_vsyscall(struct timekeeper *tk)  {  	struct timespec xtime_coarse; -	u32 use_syscall = strcmp(clock->name, "arch_sys_counter"); +	u32 use_syscall = strcmp(tk->clock->name, "arch_sys_counter");  	++vdso_data->tb_seq_count;  	smp_wmb(); @@ -237,13 +237,13 @@ void update_vsyscall(struct timespec *ts, struct timespec *wtm,  	vdso_data->xtime_coarse_nsec		= xtime_coarse.tv_nsec;  	if (!use_syscall) { -		vdso_data->cs_cycle_last	= clock->cycle_last; -		vdso_data->xtime_clock_sec	= ts->tv_sec; -		vdso_data->xtime_clock_nsec	= ts->tv_nsec; -		vdso_data->cs_mult		= mult; -		vdso_data->cs_shift		= clock->shift; -		vdso_data->wtm_clock_sec	= wtm->tv_sec; -		vdso_data->wtm_clock_nsec	= wtm->tv_nsec; +		vdso_data->cs_cycle_last	= tk->clock->cycle_last; +		vdso_data->xtime_clock_sec	= tk->xtime_sec; +		vdso_data->xtime_clock_nsec	= tk->xtime_nsec >> tk->shift; +		vdso_data->cs_mult		= tk->mult; +		vdso_data->cs_shift		= tk->shift; +		vdso_data->wtm_clock_sec	= tk->wall_to_monotonic.tv_sec; +		vdso_data->wtm_clock_nsec	= tk->wall_to_monotonic.tv_nsec;  	}  	smp_wmb();  |