fix a couple of warnings
[coreboot.git] / src / include / cpu / x86 / tsc.h
index 9177d53818343996ee2eced8be77abdff88ec3fc..5531993f7d9f279963432793c296b01e956d092a 100644 (file)
@@ -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__ (