File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE)
99ifdef CONFIG_FUNCTION_TRACER
1010# Do not profile debug and lowlevel utilities
1111CFLAGS_REMOVE_tsc.o = -pg
12- CFLAGS_REMOVE_rtc.o = -pg
1312CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
1413CFLAGS_REMOVE_pvclock.o = -pg
1514CFLAGS_REMOVE_kvmclock.o = -pg
Original file line number Diff line number Diff line change @@ -195,12 +195,6 @@ void read_persistent_clock(struct timespec *ts)
195195 ts -> tv_nsec = 0 ;
196196}
197197
198- unsigned long long native_read_tsc (void )
199- {
200- return __native_read_tsc ();
201- }
202- EXPORT_SYMBOL (native_read_tsc );
203-
204198
205199static struct resource rtc_resources [] = {
206200 [0 ] = {
Original file line number Diff line number Diff line change @@ -77,6 +77,12 @@ unsigned long long
7777sched_clock (void ) __attribute__((alias ("native_sched_clock" )));
7878#endif
7979
80+ unsigned long long native_read_tsc (void )
81+ {
82+ return __native_read_tsc ();
83+ }
84+ EXPORT_SYMBOL (native_read_tsc );
85+
8086int check_tsc_unstable (void )
8187{
8288 return tsc_unstable ;
You can’t perform that action at this time.
0 commit comments