projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] vmi: cpu cycles fix
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
arch
/
i386
/
kernel
/
tsc.c
diff --git
a/arch/i386/kernel/tsc.c
b/arch/i386/kernel/tsc.c
index
c9c9d54
..
59222a0
100644
(file)
--- a/
arch/i386/kernel/tsc.c
+++ b/
arch/i386/kernel/tsc.c
@@
-117,7
+117,7
@@
unsigned long long sched_clock(void)
return cycles_2_ns(this_offset);
}
-
static unsigned long
calculate_cpu_khz(void)
+
unsigned long native_
calculate_cpu_khz(void)
{
unsigned long long start, end;
unsigned long count;