Skip to content

Commit

Permalink
clocksource/timecompare: Fix symbol exports to be GPL'd.
Browse files Browse the repository at this point in the history
Noticed by Thomas GLeixner.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Nov 12, 2009
1 parent a3bc1f1 commit 3586e0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions kernel/time/clocksource.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void timecounter_init(struct timecounter *tc,
tc->cycle_last = cc->read(cc);
tc->nsec = start_tstamp;
}
EXPORT_SYMBOL(timecounter_init);
EXPORT_SYMBOL_GPL(timecounter_init);

/**
* timecounter_read_delta - get nanoseconds since last call of this function
Expand Down Expand Up @@ -83,7 +83,7 @@ u64 timecounter_read(struct timecounter *tc)

return nsec;
}
EXPORT_SYMBOL(timecounter_read);
EXPORT_SYMBOL_GPL(timecounter_read);

u64 timecounter_cyc2time(struct timecounter *tc,
cycle_t cycle_tstamp)
Expand All @@ -105,7 +105,7 @@ u64 timecounter_cyc2time(struct timecounter *tc,

return nsec;
}
EXPORT_SYMBOL(timecounter_cyc2time);
EXPORT_SYMBOL_GPL(timecounter_cyc2time);

/*[Clocksource internal variables]---------
* curr_clocksource:
Expand Down
6 changes: 3 additions & 3 deletions kernel/time/timecompare.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ktime_t timecompare_transform(struct timecompare *sync,

return ns_to_ktime(nsec);
}
EXPORT_SYMBOL(timecompare_transform);
EXPORT_SYMBOL_GPL(timecompare_transform);

int timecompare_offset(struct timecompare *sync,
s64 *offset,
Expand Down Expand Up @@ -131,7 +131,7 @@ int timecompare_offset(struct timecompare *sync,

return used;
}
EXPORT_SYMBOL(timecompare_offset);
EXPORT_SYMBOL_GPL(timecompare_offset);

void __timecompare_update(struct timecompare *sync,
u64 source_tstamp)
Expand Down Expand Up @@ -188,4 +188,4 @@ void __timecompare_update(struct timecompare *sync,
}
}
}
EXPORT_SYMBOL(__timecompare_update);
EXPORT_SYMBOL_GPL(__timecompare_update);

0 comments on commit 3586e0a

Please sign in to comment.