]> err.no Git - linux-2.6/commit
x86: use explicit copy in vdso_gettimeofday()
authorAndi Kleen <andi@firstfloor.org>
Wed, 14 May 2008 23:10:42 +0000 (16:10 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 12:08:06 +0000 (14:08 +0200)
commita1289643adb6272c04db9399653ae195072c482a
tree3453581e5c948119acdf8db2fc4e087b7e30e014
parent2ddfd20e7c55421435cbf95a5ed3dd6e423cf934
x86: use explicit copy in vdso_gettimeofday()

Jeremy's gcc 3.4 seems to be unable to inline a 8 byte memcpy.  But the
vdso doesn't support external references.  Copy the structure members
of struct timezone explicitely instead.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/vdso/vclock_gettime.c