mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Miles Bader <miles@gnu.org>
Cc: Linus Torvalds <torvalds@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH][v850]  Guard some symbol exports with #ifdef CONFIG_MMU
Date: Thu, 28 Aug 2003 08:23:24 +0100	[thread overview]
Message-ID: <20030828082324.A32093@infradead.org> (raw)
In-Reply-To: <20030828051553.8E6203718@mcspd15.ucom.lsi.nec.co.jp>; from miles@lsi.nec.co.jp on Thu, Aug 28, 2003 at 02:15:53PM +0900

On Thu, Aug 28, 2003 at 02:15:53PM +0900, Miles Bader wrote:
> Linus, please apply.
> 
> diff -ruN -X../cludes linux-2.6.0-test4-uc0/kernel/ksyms.c linux-2.6.0-test4-uc0-v850-20030827/kernel/ksyms.c
> --- linux-2.6.0-test4-uc0/kernel/ksyms.c	2003-08-25 13:23:54.000000000 +0900
> +++ linux-2.6.0-test4-uc0-v850-20030827/kernel/ksyms.c	2003-08-26 11:43:52.000000000 +0900
> @@ -120,7 +120,9 @@
>  EXPORT_SYMBOL(max_mapnr);
>  #endif
>  EXPORT_SYMBOL(high_memory);
> +#ifdef CONFIG_MMU
>  EXPORT_SYMBOL_GPL(invalidate_mmap_range);
> +#endif
>  EXPORT_SYMBOL(vmtruncate);
>  EXPORT_SYMBOL(find_vma);
>  EXPORT_SYMBOL(get_unmapped_area);
> @@ -198,7 +200,9 @@
>  EXPORT_SYMBOL(invalidate_inode_pages);
>  EXPORT_SYMBOL_GPL(invalidate_inode_pages2);
>  EXPORT_SYMBOL(truncate_inode_pages);
> +#ifdef CONFIG_MMU
>  EXPORT_SYMBOL(install_page);
> +#endif

What about moving the exports to the definitions instead?


  reply	other threads:[~2003-08-28  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28  5:15 Miles Bader
2003-08-28  7:23 ` Christoph Hellwig [this message]
2003-08-28  7:44   ` Miles Bader

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=20030828082324.A32093@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles@gnu.org \
    --cc=torvalds@osdl.org \
    /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

all inboxes | Powered by JetHome®