diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-17 01:51:11 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-17 01:51:11 +0000 |
commit | 348a1ba589c784f8b15d7179b2d9488c2c31ccb6 (patch) | |
tree | 2969bb556a317c0e0ae92f86aa48da17c7243599 /src/include/cpu/x86/tsc.h | |
parent | 37e781706bb079af3c16079892576512680987e6 (diff) |
fix a couple of warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5236 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/cpu/x86/tsc.h')
-rw-r--r-- | src/include/cpu/x86/tsc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/x86/tsc.h b/src/include/cpu/x86/tsc.h index 9177d53818..5531993f7d 100644 --- a/src/include/cpu/x86/tsc.h +++ b/src/include/cpu/x86/tsc.h @@ -7,7 +7,7 @@ struct tsc_struct { }; typedef struct tsc_struct tsc_t; -static tsc_t rdtsc(void) +static inline tsc_t rdtsc(void) { tsc_t res; __asm__ __volatile__ ( |