projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a couple of warnings
[coreboot.git]
/
src
/
include
/
cpu
/
x86
/
tsc.h
diff --git
a/src/include/cpu/x86/tsc.h
b/src/include/cpu/x86/tsc.h
index 9177d53818343996ee2eced8be77abdff88ec3fc..5531993f7d9f279963432793c296b01e956d092a 100644
(file)
--- 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__ (