From: Christoph Hellwig <hch@infradead.org>
To: "Peter T. Breuer" <ptb@it.uc3m.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] apm cannot be compiled as a module in 2.5.31
Date: Sun, 25 Aug 2002 15:30:04 +0100 [thread overview]
Message-ID: <20020825153004.A7730@infradead.org> (raw)
In-Reply-To: <200208251321.g7PDL9v09118@oboe.it.uc3m.es>; from ptb@it.uc3m.es on Sun, Aug 25, 2002 at 03:21:09PM +0200
On Sun, Aug 25, 2002 at 03:21:09PM +0200, Peter T. Breuer wrote:
> --- kernel/ksyms.c.orig Sun Aug 25 15:15:02 2002
> +++ kernel/ksyms.c Thu Aug 22 19:11:07 2002
> @@ -428,6 +428,10 @@
> EXPORT_SYMBOL(__br_write_unlock);
> #endif
>
> +#ifdef CONFIG_X86
> +EXPORT_SYMBOL(cpu_gdt_table);
> +#endif
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..
prev parent reply other threads:[~2002-08-25 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-25 13:21 [PATCH] apm cannot be compiled as a module in 2.5.31 Peter T. Breuer
2002-08-25 14:30 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020825153004.A7730@infradead.org \
--to=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ptb@it.uc3m.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox