Re: 2.6.16-rc6-mm2

Michal Piotrowski
2006-06-12T14:56:37Z

Ingo Molnar napisał(a):
> * Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
>
>> I just tried your latest lockdep-combo-2.6.17-rc6-mm2 patch, and I get
>> many warnings
>>
>> WARNING: /lib/modules/2.6.17-rc6-mm2-lockdep/kernel/sound/core/snd-pcm.ko
>> needs unknown symbol down_write
>
> ok, i have uploaded a new version - does that work any better?
>
> Ingo
>

Yes, thanks.

I forgot about this

WARNING: /lib/modules/2.6.17-rc6-mm2-lockdep/kernel/fs/ntfs/ntfs.ko needs unknown symbol lockdep_on
WARNING: /lib/modules/2.6.17-rc6-mm2-lockdep/kernel/fs/ntfs/ntfs.ko needs unknown symbol lockdep_off
WARNING: /lib/modules/2.6.17-rc6-mm2-lockdep/kernel/fs/ntfs/ntfs.ko needs unknown symbol lockdep_on
WARNING: /lib/modules/2.6.17-rc6-mm2-lockdep/kernel/fs/ntfs/ntfs.ko needs unknown symbol lockdep_off

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

----
diff -uprN -X linux-mm/Documentation/dontdiff linux-mm-clean/kernel/lockdep.c linux-mm/kernel/lockdep.c
--- linux-mm-clean/kernel/lockdep.c 2006-06-12 16:50:02.000000000 +0200
+++ linux-mm/kernel/lockdep.c 2006-06-12 16:46:42.000000000 +0200
@@ -130,11 +130,15 @@ void lockdep_off(void)
current->lockdep_recursion++;
}

+EXPORT_SYMBOL(lockdep_off);
+
void lockdep_on(void)
{
current->lockdep_recursion--;
}

+EXPORT_SYMBOL(lockdep_on);
+
/*
* Debugging switches:
*/