diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-03-24 12:38:48 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-03-24 12:38:48 -0500 |
commit | 88bcd51262ed45212d1b3a65abbac46eaf36bfeb (patch) | |
tree | 570fba807f94845399c12284d1c2f6568e4b016b /fs/binfmt_elf_fdpic.c | |
parent | b1eecf7e04f34e3248ca8d14e49156da63f05117 (diff) |
BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
this changes if() BUG(); constructs to BUG_ON() which is
cleaner and can better optimized away
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index 5b3076e8ee90..a2e48c999c24 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -572,8 +572,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm, | |||
572 | csp -= sizeof(unsigned long); | 572 | csp -= sizeof(unsigned long); |
573 | __put_user(bprm->argc, (unsigned long *) csp); | 573 | __put_user(bprm->argc, (unsigned long *) csp); |
574 | 574 | ||
575 | if (csp != sp) | 575 | BUG_ON(csp != sp); |
576 | BUG(); | ||
577 | 576 | ||
578 | /* fill in the argv[] array */ | 577 | /* fill in the argv[] array */ |
579 | #ifdef CONFIG_MMU | 578 | #ifdef CONFIG_MMU |