Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q3

Lee Revell
2004-08-28T21:11:55Z

On Sat, 2004-08-28 at 16:31, Ingo Molnar wrote:
> http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc1-bk4-Q3
>

I get this error:

WARNING: /lib/modules/2.6.9-rc1-Q3/kernel/fs/ntfs/ntfs.ko needs unknown symbol unlock_kernel
WARNING: /lib/modules/2.6.9-rc1-Q3/kernel/fs/ntfs/ntfs.ko needs unknown symbol lock_kernel

I believe this is the correct fix:

--- fs/ntfs/super.c~ 2004-08-28 16:31:33.000000000 -0400
+++ fs/ntfs/super.c 2004-08-28 17:08:11.000000000 -0400
@@ -29,6 +29,7 @@
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <linux/moduleparam.h>
+#include <linux/smp_lock.h>

#include "ntfs.h"
#include "sysctl.h"

Lee