Commit d38e9384619935873f93b879572fe664be7b28cf

Authored by Ajay Mohan
1 parent 332ab0197e
Exists in master

Fix Macro

Showing 1 changed file with 2 additions and 2 deletions Inline Diff

#ifndef __RASPERF_H__ 1 1 #ifndef __RASPERF_H__
#define __RASPERF_H__ 2 2 #define __RASPERF_H__
3 3
#define getTime(var) \ 4 4 #define getTime(var) \
asm volatile (\ 5 5 asm volatile (\
"mrc p15, 0, %0, c9, c13, 0":\ 6 6 "mrc p15, 0, %0, c9, c13, 0":\
"=r" (var));\ 7 7 "=r" (var));
#define readCCNTStatus(var) \ 8 8 #define readCCNTStatus(var) \
asm volatile (\ 9 9 asm volatile (\
"mrc p15, 0, %0, c9, c14, 0":\ 10 10 "mrc p15, 0, %0, c9, c14, 0":\
"=r" (var));\ 11 11 "=r" (var));
12 12