diff options
author | George G. Davis <davis_g@mvista.com> | 2006-07-29 08:29:27 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-29 08:29:27 +0100 |
commit | 7b1df1985c7a4e6d5fcab0ed71a2cd1d4ad3be41 (patch) | |
tree | f5b2c16bc564d00dcfc1af1a36864bad979da19b /arch/arm/mm/proc-syms.c | |
parent | a6a38a66224c7c578cfed2f584b440c81af0c3ae (diff) | |
download | op-kernel-dev-7b1df1985c7a4e6d5fcab0ed71a2cd1d4ad3be41.zip op-kernel-dev-7b1df1985c7a4e6d5fcab0ed71a2cd1d4ad3be41.tar.gz |
[ARM] 3737/1: Export ARM copy/clear_user_page symbols
Patch from George G. Davis
As reported by various folks on the ARM Linux kernel mailing list,
the video-buf.ko driver has undefined references on all ARM machines
which use it as observed during `make modules`:
Warning: "v4wb_clear_user_page" [drivers/media/video/video-buf.ko] undefined!
Similar warnings exist for all ARM machines which use this driver.
So this change adds the missing EXPORT_SYMBOLs to allow using this
driver as a module.
Signed-off-by: George G. Davis <gdavis@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-syms.c')
-rw-r--r-- | arch/arm/mm/proc-syms.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c index 6c5f0fe..ab14355 100644 --- a/arch/arm/mm/proc-syms.c +++ b/arch/arm/mm/proc-syms.c @@ -13,6 +13,7 @@ #include <asm/cacheflush.h> #include <asm/proc-fns.h> #include <asm/tlbflush.h> +#include <asm/page.h> #ifndef MULTI_CPU EXPORT_SYMBOL(cpu_dcache_clean_area); @@ -30,6 +31,13 @@ EXPORT_SYMBOL(__cpuc_coherent_kern_range); EXPORT_SYMBOL(cpu_cache); #endif +#ifndef MULTI_USER +EXPORT_SYMBOL(__cpu_clear_user_page); +EXPORT_SYMBOL(__cpu_copy_user_page); +#else +EXPORT_SYMBOL(cpu_user); +#endif + /* * No module should need to touch the TLB (and currently * no modules do. We export this for "loadkernel" support |