[lkml]   [2006]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] Split schedule() {raw_}irq warnings

    I changed this error message so it's clear what triggered it.
    If it's a raw_ type it says it's raw.

    Signed-Off-By: Daniel Walker <>

    Index: linux-2.6.15/kernel/sched.c
    --- linux-2.6.15.orig/kernel/sched.c
    +++ linux-2.6.15/kernel/sched.c
    @@ -3568,9 +3568,10 @@ asmlinkage void __sched schedule(void)
    if (unlikely(irqs_disabled() || raw_irqs_disabled())) {
    - printk(KERN_ERR "BUG: scheduling with irqs disabled: "
    + printk(KERN_ERR "BUG: scheduling with %sirqs disabled: "
    - current->comm, preempt_count(), current->pid);
    + (irqs_disabled())?"":"raw ", current->comm,
    + preempt_count(), current->pid);
    print_symbol("caller is %s\n",
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2006-01-10 19:26    [W:0.018 / U:64.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site