David Brownell
d3de851a44
rtc: BCD codeshrink
...
This updates <linux/bcd.h> to define the key routines as constant
functions, which the macros will then call. Newer code can now call
bcd2bin() instead of SCREAMING BCD2BIN() TO THE FOUR WINDS.
This lets each driver shrink their codespace by using N function calls to
a single (global) copy of those routines, instead of N inlined copies of
these functions per driver.
These routines aren't used in speed-critical code. Almost all callers are
in the RTC framework. Typical per-driver savings is near 300 bytes.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Adrian Bunk <bunk@kernel.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:33 -07:00
..
acpi
asm-alpha
flag parameters: paccept
2008-07-24 10:47:27 -07:00
asm-arm
pm: remove remaining obsolete definitions from pm.h
2008-07-24 10:47:22 -07:00
asm-avr32
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-blackfin
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-cris
cris: remove unused global_flush_tlb
2008-07-24 10:47:24 -07:00
asm-frv
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-generic
asm-h8300
remove include/asm-h8300/keyboard.h
2008-07-24 10:47:22 -07:00
asm-ia64
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-m32r
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-m68k
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-m68knommu
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-mips
spi: au1550_spi: proper platform device
2008-07-24 10:47:30 -07:00
asm-mn10300
mn10300: move sg_dma_{address,len}() to asm/scatterlist.h
2008-07-24 10:47:24 -07:00
asm-parisc
flag parameters: paccept
2008-07-24 10:47:27 -07:00
asm-powerpc
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-s390
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-sh
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-sparc
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
asm-sparc64
sparc: join the remaining header files
2008-07-17 21:55:51 -07:00
asm-um
UML: make several more things static
2008-07-24 10:47:24 -07:00
asm-v850
remove the v850 port
2008-07-24 10:47:24 -07:00
asm-x86
flag parameters add-on: remove epoll_create size param
2008-07-24 10:47:29 -07:00
asm-xtensa
PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures
2008-07-24 10:47:21 -07:00
crypto
drm
keys
linux
rtc: BCD codeshrink
2008-07-24 10:47:33 -07:00
math-emu
media
V4L/DVB (8395): saa7134: Fix Kbuild dependency of ir-kbd-i2c
2008-07-20 07:29:03 -03:00
mtd
net
ipv6: icmp6_dst_gc return change
2008-07-22 14:35:50 -07:00
pcmcia
rdma
rxrpc
scsi
driver core: remove KOBJ_NAME_LEN define
2008-07-21 21:54:52 -07:00
sound
video
xen
Kbuild