Skip to content

Commit 87f1b96

Browse files
Gu Yuchenopsiff
authored andcommitted
sw64: define get_cycles macro
Define get_cycles macro. Signed-off-by: Gu Yuchen <guyuchen@wxiat.com> Reviewed-by: He Sheng <hesheng@wxiat.com> Signed-off-by: Gu Zitao <guzitao@wxiat.com>
1 parent 22c1dad commit 87f1b96

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/sw_64/include/asm/timex.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ static inline cycles_t get_cycles(void)
1919
{
2020
return rdtc();
2121
}
22+
#define get_cycles get_cycles
2223

2324
#endif /* _ASM_SW64_TIMEX_H */

0 commit comments

Comments
 (0)