diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2013-10-24 16:04:48 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2013-10-24 21:05:49 -0700 |
commit | 3267f4970798bd99ee0b36b81aaafce585e76ad3 (patch) | |
tree | 9cfcd8ed09ef1ccebe0514906cffb780815f1193 /security | |
parent | dce9966eb08427acc56c5218be78cd062c264109 (diff) |
security: tlk_driver: remove tegra_read_cycle()
Tegra kernel now implements this function in a common place.
Bug 1389113
Change-Id: Ie9bcd4267d0098136c18877ef67dd0da2fedbb4c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/303290
Diffstat (limited to 'security')
-rw-r--r-- | security/tlk_driver/ote_device.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/security/tlk_driver/ote_device.c b/security/tlk_driver/ote_device.c index 9016a318c09f..21def6c135bb 100644 --- a/security/tlk_driver/ote_device.c +++ b/security/tlk_driver/ote_device.c @@ -34,21 +34,9 @@ #define SET_ANSWER(a, r, ro) { a.result = r; a.result_origin = ro; } -#define CREATE_TRACE_POINTS -#include <trace/events/nvsecurity.h> - struct tlk_device tlk_dev; static DEFINE_MUTEX(smc_lock); -u32 notrace tegra_read_cycle(void) -{ - u32 cycle_count; - - asm volatile("mrc p15, 0, %0, c9, c13, 0" : "=r"(cycle_count)); - - return cycle_count; -} - static int te_create_free_cmd_list(struct tlk_device *dev) { int cmd_desc_count, ret = 0; |