diff options
| author | Christoph Hellwig <hch@infradead.org> | 2002-05-19 19:40:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-19 19:40:16 -0700 |
| commit | bd2b0c85edfa015fdb4990ad07ad10e94ea885a4 (patch) | |
| tree | 60f6fe44b83ad5a7b03d142c5be3f557614e7d6b /kernel | |
| parent | 43a3a37b90928f55410aba9378891edda3de1fa9 (diff) | |
[PATCH] get rid of <linux/locks.h>
The lock.h header contained some hand-crafted lcoking routines from
the pre-SMP days. In 2.5 only lock_super/unlock_super are left,
guarded by a number of completly unrelated (!) includes.
This patch moves lock_super/unlock_super to fs.h, which defined
struct super_block that is needed for those to operate it, removes
locks.h and updates all caller to not include it and add the missing,
previously nested includes where needed.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/ksyms.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/ksyms.c b/kernel/ksyms.c index c00aef0e313e..add2ac9dd8f3 100644 --- a/kernel/ksyms.c +++ b/kernel/ksyms.c @@ -21,7 +21,6 @@ #include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/serial.h> -#include <linux/locks.h> #include <linux/delay.h> #include <linux/random.h> #include <linux/reboot.h> |
