original_kernel/include
Darrick J. Wong 9fe06081ef Create a DIV_ROUND_CLOSEST macro to do division with rounding
Create a helper macro to divide two numbers and round the result to the
nearest whole number.  This is a helper macro for hwmon drivers that want
to convert incoming sysfs values per standard hwmon practice, though the
macro itself can be used by anyone.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:12 -08:00
..
acpi
asm-arm
asm-frv atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
asm-generic mm: remove CONFIG_OUT_OF_LINE_PFN_TO_PAGE 2009-01-06 15:59:10 -08:00
asm-h8300
asm-m32r atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
asm-m68k atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
asm-mn10300 atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
asm-xtensa atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
crypto
drm
keys
linux Create a DIV_ROUND_CLOSEST macro to do division with rounding 2009-01-06 15:59:12 -08:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
trace
video
xen
Kbuild