[PATCH 7/8] arch/powerpc: use printk_ratelimited instead of printk_ratelimit

2011-06-04 Thread Christian Dietrich
Since printk_ratelimit() shouldn't be used anymore (see comment in include/linux/printk.h), replace it with printk_ratelimited. Signed-off-by: Christian Dietrich --- arch/powerpc/kernel/signal_32.c | 57 +- arch/powerpc/kernel/signal_64.c |

[PATCH 0/8] Use printk_ratelimited instead of printk_ratelimit

2011-06-04 Thread Christian Dietrich
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-r

[PATCH 1/8] powerpc/rtas-rtc: remove sideeffects of printk_ratelimit

2011-06-04 Thread Christian Dietrich
Don't use printk_ratelimit() as an additional condition for returning on an error. Because when the ratelimit is reached, printk_ratelimit will return 0 and e.g. in rtas_get_boot_time won't check for an error condition. Signed-off-by: Christian Dietrich --- arch/powerpc/kernel/

[PATCH 00/14] Removing dead code

2010-09-06 Thread Christian Dietrich
Christian Dietrich [0] http://vamos1.informatik.uni-erlangen.de/ Christian Dietrich (14): arch/arm: Removing undead ifdef __ASSEMBLY__ arch/h8300: Removing dead ifdef __H8300_TLB_H__ arch/parisc: Removing undead ifdef CONFIG_PA20 arch/{s390,powerpc}: Removing undead ifdef __KERNEL__ arc

[PATCH 04/14] arch/{s390,powerpc}: Removing undead ifdef __KERNEL__

2010-09-06 Thread Christian Dietrich
The __KERNEL__ ifdef isn't necessary at this point, because it is checked in an outer ifdef level already and has no effect here. Signed-off-by: Christian Dietrich --- arch/powerpc/include/asm/processor.h |2 -- arch/powerpc/include/asm/vdso_datapage.h |2 -- arch/s390/includ

[PATCH 1/2] Remove REDWOOD_[456] config options and conditional code

2010-07-16 Thread Christian Dietrich
The config options for REDWOOD_[456] were commented out in the powerpc Kconfig. The ifdefs referencing this options therefore are dead and all references to this can be removed (Also dependencies in other KConfig files). Signed-off-by: Christian Dietrich Signed-off-by: Christoph Egger --- arch

[PATCH 0/2] Removing dead code

2010-07-16 Thread Christian Dietrich
Christian Dietrich [0] http://vamos1.informatik.uni-erlangen.de/ [1] Message-Id: Christian Dietrich (2): Remove REDWOOD_[456] config options and conditional code Removed redwood/mtd mapping arch/powerpc/platforms/40x/Kconfig | 16 drivers/mtd/maps/Kconfig |8 -- drivers/mtd

[PATCH 5/5] Remove REDWOOD_5 and REDWOOD_6 config options and conditional code

2010-07-14 Thread Christian Dietrich
The config options for REDWOOD_[56] were commented out in the powerpc Kconfig. The ifdefs referencing this options therefore are dead and all references to this can be removed (Also dependencies in other KConfig files). Signed-off-by: Christian Dietrich --- arch/powerpc/platforms/40x/Kconfig