[PATCH] kernel/module.c: remove redundant spinlock in resolve_symbol()
authorAshutosh Naik <ashutosh.naik@gmail.com>
Sun, 8 Jan 2006 09:04:37 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:04 +0000 (20:14 -0800)
commiteb46996f90a0826921f1a0d81535537a9c7f91b0
tree9c9abe4c1e3ea2bf07b97d3ec6603eec94da69fa
parent349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db
[PATCH] kernel/module.c: remove redundant spinlock in resolve_symbol()

Remove the redundant spinlock in the function resolve_symbol() as we are
not altering the module list, and we already hold the semaphore.

Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/module.c