I think arch/i386/kernel/i386_ksysm.c is a better place for this
> Hurrr .. the xtime_lock is harder. Have to EXPORT from the file where
> it is defined. Locks only make sense in SMP so only export if compiled
> for SMP.
>
>
> --- kernel/timer.c.orig Sun Aug 25 15:17:09 2002
> +++ kernel/timer.c Thu Aug 22 19:13:15 2002
> @@ -635,6 +635,9 @@
> * playing with xtime and avenrun.
> */
> rwlock_t xtime_lock __cacheline_aligned_in_smp = RW_LOCK_UNLOCKED;
> +#ifdef CONFIG_SMP
> +EXPORT_SYMBOL(xtime_lock);
> +#endif
you could aswell include the matching header in ksyms.c..
-
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/