Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47616
b: refs/heads/master
c: 1efc5da
h: refs/heads/master
v: v3
  • Loading branch information
Mathieu Desnoyers authored and Linus Torvalds committed Feb 11, 2007
1 parent a8b5a4b commit 3fef107
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 482a579b370a0bf924b577efd6c750284a95e0fb
refs/heads/master: 1efc5da3cf567d2f6b795f9d2112ed97fec4ee7c
6 changes: 3 additions & 3 deletions trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
zap_locks();

/* This stops the holder of console_sem just where we want him */
local_irq_save(flags);
raw_local_irq_save(flags);
lockdep_off();
spin_lock(&logbuf_lock);
printk_cpu = smp_processor_id();
Expand Down Expand Up @@ -618,7 +618,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
up(&console_sem);
}
lockdep_on();
local_irq_restore(flags);
raw_local_irq_restore(flags);
} else {
/*
* Someone else owns the drivers. We drop the spinlock, which
Expand All @@ -628,7 +628,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
printk_cpu = UINT_MAX;
spin_unlock(&logbuf_lock);
lockdep_on();
local_irq_restore(flags);
raw_local_irq_restore(flags);
}

preempt_enable();
Expand Down

0 comments on commit 3fef107

Please sign in to comment.