kernel_optimize_test/include/asm-cris/timex.h
Adrian Bunk d9b5444eeb [PATCH] cris: "extern inline" -> "static inline"
"extern inline" doesn't make much sense.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:30 -08:00

25 lines
398 B
C

/*
* linux/include/asm-cris/timex.h
*
* CRIS architecture timex specifications
*/
#ifndef _ASM_CRIS_TIMEX_H
#define _ASM_CRIS_TIMEX_H
#include <asm/arch/timex.h>
/*
* We don't have a cycle-counter.. but we do not support SMP anyway where this is
* used so it does not matter.
*/
typedef unsigned long long cycles_t;
static inline cycles_t get_cycles(void)
{
return 0;
}
#endif