arm64: kernel: compiling issue, need delete read_current_timer()
authorChen Gang <gang.chen@asianux.com>
Tue, 21 May 2013 09:46:05 +0000 (10:46 +0100)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:08:09 +0000 (13:08 +0000)
commit4cfd8f7428627fea0eb415108a2c0cf74c204e68
treeda195591136dc61256397099e4df85b9967f5356
parent4500adffcaf809f9c8af96211b7abd6babeafd53
arm64: kernel: compiling issue, need delete read_current_timer()

commit 6916b14ea140ff5c915895eefe9431888a39a84d upstream.

Under arm64, we will calibrate the delay loop statically using a known
timer frequency, so delete read_current_timer(), or it will cause
compiling issue with allmodconfig.

The related error:
  ERROR: "read_current_timer" [lib/rbtree_test.ko] undefined!
  ERROR: "read_current_timer" [lib/interval_tree_test.ko] undefined!
  ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined!
  ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined!

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/timex.h
arch/arm64/kernel/time.c