Skip to content

Commit 3703f39

Browse files
author
Ingo Molnar
committed
geode: fix modular build
-tip testing found this build bug: MODPOST 331 modules ERROR: "geode_mfgpt_toggle_event" [drivers/watchdog/geodewdt.ko] undefined! ERROR: "geode_mfgpt_alloc_timer" [drivers/watchdog/geodewdt.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 with this config: http://redhat.com/~mingo/misc/config-Wed_Jun__4_18_01_59_CEST_2008.bad export those symbols. Signed-off-by: Ingo Molnar <[email protected]>
1 parent 5e70b7f commit 3703f39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/kernel/mfgpt_32.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ int geode_mfgpt_toggle_event(int timer, int cmp, int event, int enable)
155155
wrmsr(msr, value, dummy);
156156
return 0;
157157
}
158+
EXPORT_SYMBOL_GPL(geode_mfgpt_toggle_event);
158159

159160
int geode_mfgpt_set_irq(int timer, int cmp, int irq, int enable)
160161
{
@@ -222,6 +223,7 @@ int geode_mfgpt_alloc_timer(int timer, int domain)
222223
/* No timers available - too bad */
223224
return -1;
224225
}
226+
EXPORT_SYMBOL_GPL(geode_mfgpt_alloc_timer);
225227

226228

227229
#ifdef CONFIG_GEODE_MFGPT_TIMER

0 commit comments

Comments
 (0)