Commit 3586e0a9a4a5f19110627d6ba81ada32a358467d

Authored by David S. Miller
1 parent a3bc1f11e9

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

Noticed by Thomas GLeixner.

Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 2 changed files with 6 additions and 6 deletions Side-by-side Diff

kernel/time/clocksource.c
... ... @@ -39,7 +39,7 @@
39 39 tc->cycle_last = cc->read(cc);
40 40 tc->nsec = start_tstamp;
41 41 }
42   -EXPORT_SYMBOL(timecounter_init);
  42 +EXPORT_SYMBOL_GPL(timecounter_init);
43 43  
44 44 /**
45 45 * timecounter_read_delta - get nanoseconds since last call of this function
... ... @@ -83,7 +83,7 @@
83 83  
84 84 return nsec;
85 85 }
86   -EXPORT_SYMBOL(timecounter_read);
  86 +EXPORT_SYMBOL_GPL(timecounter_read);
87 87  
88 88 u64 timecounter_cyc2time(struct timecounter *tc,
89 89 cycle_t cycle_tstamp)
... ... @@ -105,7 +105,7 @@
105 105  
106 106 return nsec;
107 107 }
108   -EXPORT_SYMBOL(timecounter_cyc2time);
  108 +EXPORT_SYMBOL_GPL(timecounter_cyc2time);
109 109  
110 110 /*[Clocksource internal variables]---------
111 111 * curr_clocksource:
kernel/time/timecompare.c
... ... @@ -40,7 +40,7 @@
40 40  
41 41 return ns_to_ktime(nsec);
42 42 }
43   -EXPORT_SYMBOL(timecompare_transform);
  43 +EXPORT_SYMBOL_GPL(timecompare_transform);
44 44  
45 45 int timecompare_offset(struct timecompare *sync,
46 46 s64 *offset,
... ... @@ -131,7 +131,7 @@
131 131  
132 132 return used;
133 133 }
134   -EXPORT_SYMBOL(timecompare_offset);
  134 +EXPORT_SYMBOL_GPL(timecompare_offset);
135 135  
136 136 void __timecompare_update(struct timecompare *sync,
137 137 u64 source_tstamp)
... ... @@ -188,5 +188,5 @@
188 188 }
189 189 }
190 190 }
191   -EXPORT_SYMBOL(__timecompare_update);
  191 +EXPORT_SYMBOL_GPL(__timecompare_update);