]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: timer: gfrc, rtc: Read BCR to detect whether hardware exists ...
authorVineet Gupta <vgupta@synopsys.com>
Mon, 31 Oct 2016 20:02:31 +0000 (13:02 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 30 Nov 2016 19:54:25 +0000 (11:54 -0800)
commite0495299d845966488c2a3c952b905ed5ad1beb9
tree97b6d6960fb5b008a71bfd5a2f4cd46d75e9bf3e
parentb9e49623e4f7d290b91ce52571632b7b7b3a9026
ARC: timer: gfrc, rtc: Read BCR to detect whether hardware exists ...

... don't rely on cpuinfo populated in arc boot code. This paves way for
moving this code in drivers/clocksource/

And while at it, convert the WARN() to pr_warn() as sugested by Daniel

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/time.c