Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25195
b: refs/heads/master
c: 8abd8e2
h: refs/heads/master
i:
  25193: 70e6696
  25191: 213e8a3
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Mar 31, 2006
1 parent ebcda31 commit 2f9f754
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9bc98fc6fd3d07f37b597601489df200e0024222
refs/heads/master: 8abd8e298eb15e2c1b993df0634daf29e43e0aab
6 changes: 2 additions & 4 deletions trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,7 @@ static void call_console_drivers(unsigned long start, unsigned long end)
unsigned long cur_index, start_print;
static int msg_level = -1;

if (((long)(start - end)) > 0)
BUG();
BUG_ON(((long)(start - end)) > 0);

cur_index = start;
start_print = start;
Expand Down Expand Up @@ -708,8 +707,7 @@ int __init add_preferred_console(char *name, int idx, char *options)
*/
void acquire_console_sem(void)
{
if (in_interrupt())
BUG();
BUG_ON(in_interrupt());
down(&console_sem);
console_locked = 1;
console_may_schedule = 1;
Expand Down

0 comments on commit 2f9f754

Please sign in to comment.