-
- Downloads
console: rename acquire/release_console_sem() to console_lock/unlock()
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:Torben 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:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/arm/mach-omap2/pm24xx.c 2 additions, 2 deletionsarch/arm/mach-omap2/pm24xx.c
- arch/arm/mach-omap2/pm34xx.c 2 additions, 2 deletionsarch/arm/mach-omap2/pm34xx.c
- arch/arm/mach-omap2/serial.c 2 additions, 2 deletionsarch/arm/mach-omap2/serial.c
- arch/parisc/kernel/pdc_cons.c 2 additions, 2 deletionsarch/parisc/kernel/pdc_cons.c
- drivers/char/bfin_jtag_comm.c 4 additions, 4 deletionsdrivers/char/bfin_jtag_comm.c
- drivers/gpu/drm/nouveau/nouveau_drv.c 4 additions, 4 deletionsdrivers/gpu/drm/nouveau/nouveau_drv.c
- drivers/gpu/drm/radeon/radeon_device.c 5 additions, 5 deletionsdrivers/gpu/drm/radeon/radeon_device.c
- drivers/staging/msm/msm_fb.c 4 additions, 4 deletionsdrivers/staging/msm/msm_fb.c
- drivers/staging/olpc_dcon/olpc_dcon.c 5 additions, 5 deletionsdrivers/staging/olpc_dcon/olpc_dcon.c
- drivers/staging/sm7xx/smtcfb.c 4 additions, 4 deletionsdrivers/staging/sm7xx/smtcfb.c
- drivers/tty/serial/sb1250-duart.c 1 addition, 1 deletiondrivers/tty/serial/sb1250-duart.c
- drivers/tty/tty_io.c 2 additions, 2 deletionsdrivers/tty/tty_io.c
- drivers/tty/vt/selection.c 2 additions, 2 deletionsdrivers/tty/vt/selection.c
- drivers/tty/vt/vc_screen.c 8 additions, 8 deletionsdrivers/tty/vt/vc_screen.c
- drivers/tty/vt/vt.c 62 additions, 62 deletionsdrivers/tty/vt/vt.c
- drivers/tty/vt/vt_ioctl.c 30 additions, 30 deletionsdrivers/tty/vt/vt_ioctl.c
- drivers/video/arkfb.c 6 additions, 6 deletionsdrivers/video/arkfb.c
- drivers/video/aty/aty128fb.c 6 additions, 6 deletionsdrivers/video/aty/aty128fb.c
- drivers/video/aty/atyfb_base.c 5 additions, 5 deletionsdrivers/video/aty/atyfb_base.c
- drivers/video/aty/radeon_pm.c 5 additions, 5 deletionsdrivers/video/aty/radeon_pm.c
Loading