Skip to content

Commit

Permalink
[ARM] 4502/1: nommu: Do not export the copy/clear user page functions
Browse files Browse the repository at this point in the history
The __cpu_{clear|copy}_user_page functions are not defined for the
MMU-less case and therefore should not be exported.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Catalin Marinas authored and Russell King committed Jul 20, 2007
1 parent 367afaf commit 2a0cc68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mm/proc-syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ EXPORT_SYMBOL(__cpuc_coherent_kern_range);
EXPORT_SYMBOL(cpu_cache);
#endif

#ifdef CONFIG_MMU
#ifndef MULTI_USER
EXPORT_SYMBOL(__cpu_clear_user_page);
EXPORT_SYMBOL(__cpu_copy_user_page);
#else
EXPORT_SYMBOL(cpu_user);
#endif
#endif

/*
* No module should need to touch the TLB (and currently
Expand Down

0 comments on commit 2a0cc68

Please sign in to comment.