ARM: tegra: add tegra_read_cycle() for tracing to work
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 24 Oct 2013 10:31:09 +0000 (15:31 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 25 Oct 2013 04:05:23 +0000 (21:05 -0700)
commitdce9966eb08427acc56c5218be78cd062c264109
treecd214e4cd18ac132d6fc8320c30bc7cb57dbb24f
parentd0cf37409c415ee74d10d870107217a6cb7ca033
ARM: tegra: add tegra_read_cycle() for tracing to work

tegra_read_cycle() is required for tracing to work on Tegra. It is
wrong to expect that the secure kernel vendor's linux driver would
always help us by implementing this function in their driver. This
is not true for hypervisor-enabled builds.

Bug 1389113

Change-Id: I232fea4fd00f9093dc9e3c815654192a8143937a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/303289
arch/arm/mach-tegra/common.c