[PATCH 0/8] Use printk_ratelimited instead of printk_ratelimit

Christian Dietrich christian.dietrich at informatik.uni-erlangen.de
Sun Jun 5 01:35:36 EST 2011


Hi,
since printk_ratelimit() shouldn't be used anymore, I replaced it at several
points, where it was possible with printk_ratelimited(FMT,...). This shouldn't
change the behaviour in most cases, except that the printk will use an local
ratelimit instead of an global one shared with all other printk_ratelimit
calls.

I just must made patches for a few places where it is used. If you think that
it is worth converting all printk_ratelimits, i will send more patches. The 
changes where done against v3.0-rc1-106-g4f1ba49.

greetz chris

Christian Dietrich (8):
  powerpc/rtas-rtc: remove sideeffects of printk_ratelimit
  drivers/octeon: use printk_ratelimited instead of printk_ratelimit
  scsi/sg: use printk_ratelimited instead of printk_ratelimit
  md/raid: use printk_ratelimited instead of printk_ratelimit
  drivers/char/rtc: use printk_ratelimited instead of printk_ratelimit
  drivers/gpu/drm: use printk_ratelimited instead of printk_ratelimit
  arch/powerpc: use printk_ratelimited instead of printk_ratelimit
  arch/x86: use printk_ratelimited instead of printk_ratelimit

 arch/powerpc/kernel/rtas-rtc.c          |   29 +++++++++------
 arch/powerpc/kernel/signal_32.c         |   57 +++++++++++++++++--------------
 arch/powerpc/kernel/signal_64.c         |   17 +++++----
 arch/powerpc/kernel/traps.c             |   22 +++++------
 arch/powerpc/mm/fault.c                 |   10 +++---
 arch/powerpc/sysdev/mpic.c              |   11 +++---
 arch/x86/kernel/hpet.c                  |    6 ++--
 arch/x86/kernel/irq.c                   |    9 ++---
 arch/x86/kvm/i8259.c                    |    7 ++--
 arch/x86/lguest/boot.c                  |    6 ++--
 drivers/char/rtc.c                      |    7 ++--
 drivers/gpu/drm/drm_ioc32.c             |    9 +++--
 drivers/md/raid1.c                      |   22 ++++++-----
 drivers/md/raid10.c                     |   22 ++++++-----
 drivers/md/raid5.c                      |   39 ++++++++++-----------
 drivers/scsi/sg.c                       |   18 +++++----
 drivers/staging/octeon/ethernet-mdio.c  |   27 +++++++-------
 drivers/staging/octeon/ethernet-rgmii.c |   33 +++++++++---------
 drivers/staging/octeon/ethernet-rx.c    |   24 +++++++------
 drivers/staging/octeon/ethernet-sgmii.c |   14 ++++---
 drivers/staging/octeon/ethernet-tx.c    |   11 +++---
 drivers/staging/octeon/ethernet-util.h  |    4 --
 drivers/staging/octeon/ethernet-xaui.c  |   22 ++++++-----
 23 files changed, 221 insertions(+), 205 deletions(-)



More information about the Linuxppc-dev mailing list