]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ARM: export default read_current_timer
authorArnd Bergmann <arnd@arndb.de>
Mon, 1 Oct 2012 14:47:31 +0000 (14:47 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Oct 2012 18:24:36 +0000 (20:24 +0200)
commitf3accb122f2c758494a6db3b9e9a8cd62aafcf83
treee04464e532b3df537b2326820a0868a92d848647
parent31d2a638a91340d00502d397e558271f516b4f17
ARM: export default read_current_timer

read_current_timer is used by get_cycles since "ARM: 7538/1: delay:
add registration mechanism for delay timer sources", and get_cycles
can be used by device drivers in loadable modules, so it has to
be exported.

Without this patch, building imote2_defconfig fails with

ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined!

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Jonathan Austin <jonathan.austin@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/delay.c