summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@vexed.ozlabs.hp.com>2004-04-15 23:37:58 -0700
committerDavid Mosberger <davidm@tiger.hpl.hp.com>2004-04-15 23:37:58 -0700
commita09f2c119ae2df7bcb95ba41964193459e30dbef (patch)
treefb54f0d0eb13458308e99733f4bd3f6532f8d2d5
parenta159fe178ef25ebb98bb046ea69815888f753aac (diff)
[PATCH] ia64: fpswa_interface needs to be exported
efivars can be built as a module, but it depends on 'fpswa_interface' which is not exported by fpswa.c. Patch below fixes this problem.
-rw-r--r--arch/ia64/kernel/traps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/kernel/traps.c b/arch/ia64/kernel/traps.c
index 445dfe68ae39..e021594d7776 100644
--- a/arch/ia64/kernel/traps.c
+++ b/arch/ia64/kernel/traps.c
@@ -13,6 +13,7 @@
#include <linux/sched.h>
#include <linux/tty.h>
#include <linux/vt_kern.h> /* For unblank_screen() */
+#include <linux/module.h> /* for EXPORT_SYMBOL */
#include <asm/fpswa.h>
#include <asm/hardirq.h>
@@ -47,6 +48,7 @@ register double f30 asm ("f30"); register double f31 asm ("f31");
extern spinlock_t timerlist_lock;
fpswa_interface_t *fpswa_interface;
+EXPORT_SYMBOL(fpswa_interface);
void __init
trap_init (void)