lkml.org 
[lkml]   [2003]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][v850] Guard some symbol exports with #ifdef CONFIG_MMU
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?

-
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: 2005-03-22 13:48    [W:0.037 / U:1.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site