diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-03-23 12:00:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 16:38:16 +0100 |
commit | ee25e96fcd78837c9f192aa655ce12a88bfd63d4 (patch) | |
tree | e244e0903bd9583b5c0e6df5e46867427641e131 /kernel/compat.c | |
parent | [PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag (diff) | |
download | linux-ee25e96fcd78837c9f192aa655ce12a88bfd63d4.tar.xz linux-ee25e96fcd78837c9f192aa655ce12a88bfd63d4.zip |
[PATCH] BUILD_LOCK_OPS: cleanup preempt_disable() usage
This patch changes the code from:
preempt_disable();
for (;;) {
...
preempt_disable();
}
to:
for (;;) {
preempt_disable();
...
}
which seems more clean to me and saves a couple of bytes for
each function.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions