lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC][PATCH 1/6] x86_64: Enable arch-generic vsyscall support.
Date

> diff --git a/kernel/timer.c b/kernel/timer.c
> index b650f04..08b4a02 100644
> --- a/kernel/timer.c
> +++ b/kernel/timer.c
> @@ -1023,6 +1023,12 @@ static int __init timekeeping_init_devic
>
> device_initcall(timekeeping_init_device);
>
> +#ifdef CONFIG_GENERIC_TIME_VSYSCALL
> +extern void update_vsyscall(struct timespec* ts, struct clocksource* c);
> +#else
> +#define update_vsyscall(now, c)
> +#endif

Using a weak dummy function would be a bit cleaner.

-Andi

>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-09 04:49    [W:0.130 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site