Commit 3586e0a9 authored by David S. Miller's avatar David S. Miller

clocksource/timecompare: Fix symbol exports to be GPL'd.

Noticed by Thomas GLeixner.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a3bc1f11
...@@ -39,7 +39,7 @@ void timecounter_init(struct timecounter *tc, ...@@ -39,7 +39,7 @@ void timecounter_init(struct timecounter *tc,
tc->cycle_last = cc->read(cc); tc->cycle_last = cc->read(cc);
tc->nsec = start_tstamp; tc->nsec = start_tstamp;
} }
EXPORT_SYMBOL(timecounter_init); EXPORT_SYMBOL_GPL(timecounter_init);
/** /**
* timecounter_read_delta - get nanoseconds since last call of this function * timecounter_read_delta - get nanoseconds since last call of this function
...@@ -83,7 +83,7 @@ u64 timecounter_read(struct timecounter *tc) ...@@ -83,7 +83,7 @@ u64 timecounter_read(struct timecounter *tc)
return nsec; return nsec;
} }
EXPORT_SYMBOL(timecounter_read); EXPORT_SYMBOL_GPL(timecounter_read);
u64 timecounter_cyc2time(struct timecounter *tc, u64 timecounter_cyc2time(struct timecounter *tc,
cycle_t cycle_tstamp) cycle_t cycle_tstamp)
...@@ -105,7 +105,7 @@ u64 timecounter_cyc2time(struct timecounter *tc, ...@@ -105,7 +105,7 @@ u64 timecounter_cyc2time(struct timecounter *tc,
return nsec; return nsec;
} }
EXPORT_SYMBOL(timecounter_cyc2time); EXPORT_SYMBOL_GPL(timecounter_cyc2time);
/*[Clocksource internal variables]--------- /*[Clocksource internal variables]---------
* curr_clocksource: * curr_clocksource:
......
...@@ -40,7 +40,7 @@ ktime_t timecompare_transform(struct timecompare *sync, ...@@ -40,7 +40,7 @@ ktime_t timecompare_transform(struct timecompare *sync,
return ns_to_ktime(nsec); return ns_to_ktime(nsec);
} }
EXPORT_SYMBOL(timecompare_transform); EXPORT_SYMBOL_GPL(timecompare_transform);
int timecompare_offset(struct timecompare *sync, int timecompare_offset(struct timecompare *sync,
s64 *offset, s64 *offset,
...@@ -131,7 +131,7 @@ int timecompare_offset(struct timecompare *sync, ...@@ -131,7 +131,7 @@ int timecompare_offset(struct timecompare *sync,
return used; return used;
} }
EXPORT_SYMBOL(timecompare_offset); EXPORT_SYMBOL_GPL(timecompare_offset);
void __timecompare_update(struct timecompare *sync, void __timecompare_update(struct timecompare *sync,
u64 source_tstamp) u64 source_tstamp)
...@@ -188,4 +188,4 @@ void __timecompare_update(struct timecompare *sync, ...@@ -188,4 +188,4 @@ void __timecompare_update(struct timecompare *sync,
} }
} }
} }
EXPORT_SYMBOL(__timecompare_update); EXPORT_SYMBOL_GPL(__timecompare_update);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment