1. 22 Mar, 2013 1 commit
    • Frederic Weisbecker's avatar
      printk: Provide a wake_up_klogd() off-case · dc72c32e
      Frederic Weisbecker authored
      wake_up_klogd() is useless when CONFIG_PRINTK=n because neither printk()
      nor printk_sched() are in use and there are actually no waiter on
      log_wait waitqueue.  It should be a stub in this case for users like
      Otherwise this results in this warning when CONFIG_PRINTK=n and
      	kernel/built-in.o In function `wake_up_klogd':
      	(.text.wake_up_klogd+0xb4): undefined reference to `irq_work_queue'
      To fix this, provide an off-case for wake_up_klogd() when
      There is much more from console_unlock() and other console related code
      in printk.c that should be moved under CONFIG_PRINTK.  But for now,
      focus on a minimal fix as we passed the merged window already.
      [akpm@linux-foundation.org: include printk.h in bust_spinlocks.c]
      Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      Reported-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  2. 06 Jan, 2009 1 commit
  3. 17 Oct, 2007 1 commit
    • Jan Beulich's avatar
      handle recursive calls to bust_spinlocks() · 00442995
      Jan Beulich authored
      Various architectures may call bust_spinlocks() recursively; the function
      itself, however, doesn't appear to be meant to be called in this manner.
      Nevertheless, this doesn't appear to be a problem as long as
      bust_spinlocks(0) doesn't get called twice in a row (otherwise,
      unblank_screen() may enter the scheduler).  However, at least on i386 die()
      has been capable of returning (and on other architectures this should
      really be that way, too) when notify_die() returns NOTIFY_STOP.
      Short of getting a reply to a respective query, this patch makes
      bust_spinlocks() increment/decrement oops_in_progress, and wake klogd only
      when the count drops back to zero.
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  4. 11 Feb, 2007 2 commits
  5. 30 Jun, 2006 1 commit
  6. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      Let it rip!