![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * arch/arm/include/asm/timex.h 0004 * 0005 * Copyright (C) 1997,1998 Russell King 0006 * 0007 * Architecture Specific TIME specifications 0008 */ 0009 #ifndef _ASMARM_TIMEX_H 0010 #define _ASMARM_TIMEX_H 0011 0012 typedef unsigned long cycles_t; 0013 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) 0014 #define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback()) 0015 0016 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |