linux-stable/arch/m32r/kernel
Julia Lawall 560235857f arch/m32r: Use DIV_ROUND_CLOSEST
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
but is perhaps more readable.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

@depends on haskernel@
expression x,__divisor;
@@

- (((x) + ((__divisor) / 2)) / (__divisor))
+ DIV_ROUND_CLOSEST(x,__divisor)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
2009-11-04 08:31:50 +09:00
..
align.c
asm-offsets.c
entry.S m32r: Move GET_THREAD_INFO definition out of asm/thread_info.h. 2009-09-23 00:29:39 +09:00
head.S m32r: Move the spi_stack_top and spu_stack_top into .init.data section. 2009-09-23 00:29:40 +09:00
init_task.c Use new __init_task_data macro in arch init_task.c files. 2009-09-21 06:27:08 +02:00
irq.c sparseirq: use kstat_irqs_cpu instead 2009-01-11 15:53:13 +01:00
m32r_ksyms.c m32r: export delay loop symbols 2009-10-04 12:02:36 +09:00
Makefile m32r: build fix for __stringify macro 2009-05-02 21:43:26 +09:00
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
process.c ptrace: remove PT_DTRACE from arch/m32r 2009-06-18 13:03:49 -07:00
ptrace.c m32r: remove redundant tests on unsigned 2009-09-22 07:17:43 -07:00
setup.c procfs: constify function pointer tables 2008-02-08 09:22:38 -08:00
signal.c KEYS: Add missing linux/tracehook.h #inclusions 2009-09-09 18:30:02 +10:00
smp.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
smpboot.c cpumask: Use accessors for cpu_*_mask: m32r 2009-09-24 09:34:47 +09:30
sys_m32r.c m32r: use generic sys_pipe 2008-05-09 08:04:56 -07:00
syscall_table.S timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
time.c arch/m32r: Use DIV_ROUND_CLOSEST 2009-11-04 08:31:50 +09:00
traps.c m32r: Fix IPI function calls for SMP 2009-10-04 12:02:37 +09:00
vmlinux.lds.S m32r: Cleanup linker script using new linker script macros. 2009-09-23 00:29:40 +09:00