Eric Dumazet 5809f9d442 [PATCH] x86-64: get rid of ARCH_HAVE_XTIME_LOCK
ARCH_HAVE_XTIME_LOCK is used by x86_64 arch .  This arch needs to place a
read only copy of xtime_lock into vsyscall page.  This read only copy is
named __xtime_lock, and xtime_lock is defined in
arch/x86_64/kernel/vmlinux.lds.S as an alias.  So the declaration of
xtime_lock in kernel/timer.c was guarded by ARCH_HAVE_XTIME_LOCK define,
defined to true on x86_64.

We can get same result with _attribute__((weak)) in the declaration. linker
should do the job.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
2007-02-13 13:26:21 +01:00
..
2006-09-11 13:32:30 -04:00
2006-12-08 08:28:46 -08:00
2007-02-11 10:51:32 -08:00
2006-12-07 08:39:25 -08:00
2006-03-26 08:57:03 -08:00
2006-12-07 08:39:36 -08:00
2006-12-04 02:00:22 -05:00
2006-12-15 08:47:51 -08:00
2007-02-07 10:37:12 -08:00
2007-02-07 10:37:12 -08:00
2006-09-29 09:18:12 -07:00
2007-02-09 17:39:36 -05:00
2005-04-16 15:20:36 -07:00
2006-12-10 09:55:41 -08:00
2006-04-19 16:27:18 -07:00
2006-12-07 08:39:25 -08:00
2006-07-10 13:24:25 -07:00