Hello,

I just downloaded reiser4-for-2.6.17-rc4-mm1-1.patch and gave it a try.
It seems that reiser4 won't build cleanly as a module.

>   CC [M]  fs/reiser4/plugin/regular.o
>   LD [M]  fs/reiser4/reiser4.o
>   CC      drivers/base/class.o
>   LD      drivers/base/built-in.o
>   LD      drivers/built-in.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
>   KSYM    .tmp_kallsyms1.S
>   AS      .tmp_kallsyms1.o
>   LD      .tmp_vmlinux2
>   KSYM    .tmp_kallsyms2.S
>   AS      .tmp_kallsyms2.o
>   LD      vmlinux
>   SYSMAP  System.map
>   SYSMAP  .tmp_System.map
>   AS      arch/i386/boot/setup.o
>   LD      arch/i386/boot/setup
>   OBJCOPY arch/i386/boot/compressed/vmlinux.bin
>   GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
>   LD      arch/i386/boot/compressed/piggy.o
>   LD      arch/i386/boot/compressed/vmlinux
>   OBJCOPY arch/i386/boot/vmlinux.bin
>   BUILD   arch/i386/boot/bzImage
> Root device is (254, 4)
> Boot sector 512 bytes.
> Setup is 7183 bytes.
> System is 1309 kB
> Kernel: arch/i386/boot/bzImage is ready  (#6)
>   Building modules, stage 2.
>   MODPOST
> WARNING: "__copy_from_user_ll_nocache" [fs/reiser4/reiser4.ko] undefined!
>   LD [M]  fs/reiser4/reiser4.ko

The attached patch solved it.
~~
laurent

reiser4 needs __copy_from_user_ll_nocache when built as a module.

Signed-off-by: Laurent Riffard <[EMAIL PROTECTED]>
---
 arch/i386/lib/usercopy.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6-mm/arch/i386/lib/usercopy.c
===================================================================
--- linux-2.6-mm.orig/arch/i386/lib/usercopy.c
+++ linux-2.6-mm/arch/i386/lib/usercopy.c
@@ -708,6 +708,7 @@ unsigned long __copy_from_user_ll_nocach
 #endif
 	return n;
 }
+EXPORT_SYMBOL(__copy_from_user_ll_nocache);
 
 /**
  * copy_to_user: - Copy a block of data into user space.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to