1. 11 3月, 2011 28 次提交
  2. 05 3月, 2011 1 次提交
  3. 26 1月, 2011 1 次提交
    • T
      console: rename acquire/release_console_sem() to console_lock/unlock() · ac751efa
      Torben Hohn 提交于
      The -rt patches change the console_semaphore to console_mutex.  As a
      result, a quite large chunk of the patches changes all
      acquire/release_console_sem() to acquire/release_console_mutex()
      
      This commit makes things use more neutral function names which dont make
      implications about the underlying lock.
      
      The only real change is the return value of console_trylock which is
      inverted from try_acquire_console_sem()
      
      This patch also paves the way to switching console_sem from a semaphore to
      a mutex.
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: make console_trylock return 1 on success, per Geert]
      Signed-off-by: NTorben Hohn <torbenh@gmx.de>
      Cc: Thomas Gleixner <tglx@tglx.de>
      Cc: Greg KH <gregkh@suse.de>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ac751efa
  4. 25 1月, 2011 4 次提交
  5. 21 1月, 2011 2 次提交
  6. 18 1月, 2011 3 次提交
  7. 14 1月, 2011 1 次提交
    • Y
      vgacon: check for efi machine · 554ec37a
      Yannick Heneault 提交于
      It seems there is a small problem of VGA palette corruption on EFI
      machine.  When the kernel initializes the architecture, it checks if the
      machine is a EFI machine and assumes that a VGA console can exist.
      
      When it initializes the console in vgacon_startup it checks if it can
      really use the VGA console.  I think this is where a check is missing.
      Currently, the function can fail if a VESA boot mode is detected but not if
      a EFI boot mode was used.
      
      Thus vgacon_startup() doesn't fail and initialize the video card for a real
      VGA mode.  This function changes the first 16entries of the VGA palette.
      
      When the efifb driver kicks in, the palette is not restored to default
      ramp value, thus the 16 first entry remain in a modified state.  The
      following patch prevent this corruption.
      Signed-off-by: NYannick Heneault <yheneaul@matrox.com>
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      554ec37a