2.5.3 Link Error
-o vmlinuxfs/fs.o: In function `cap_info_llseek':
fs/fs.o(.text+0x4e1d1): undefined reference to lock_kernel' fs/fs.o(.text+0x4e220): undefined reference to unlock_kernel' fs/fs.o: In function `hdr_llseek':
fs/fs.o(.text+0x4e858): undefined reference to lock_kernel' fs/fs.o(.text+0x4e8b6): undefined reference to unlock_kernel'
make: *** [vmlinux] Error 1
Quoted 8 lines · John Weber
-o vmlinux
fs/fs.o: In function `cap_info_llseek':
fs/fs.o(.text+0x4e1d1): undefined reference tolock_kernel' fs/fs.o(.text+0x4e220): undefined reference tounlock_kernel'fs/fs.o: In function `hdr_llseek':
fs/fs.o(.text+0x4e858): undefined reference tolock_kernel' fs/fs.o(.text+0x4e8b6): undefined reference tounlock_kernel'
make: *** [vmlinux] Error 1
Whoops, missed that in the BKL removal patch. This should fix it.
Linus, please apply.
Robert Love
fs/hfs/file_cap.c +1 -0
@@ -24,6 +24,7 @@#include <linux/hfs_fs_sb.h> #include <linux/hfs_fs_i.h> #include <linux/hfs_fs.h> +#include <linux/smp_lock.h> /*================ Forward declarations ================*/ static loff_t cap_info_llseek(struct file *, loff_t,
fs/hfs/file_hdr.c +1 -0
@@ -29,6 +29,7 @@#include <linux/hfs_fs_sb.h> #include <linux/hfs_fs_i.h> #include <linux/hfs_fs.h> +#include <linux/smp_lock.h> /* prodos types */ #define PRODOSI_FTYPE_DIR 0x0F