summaryrefslogtreecommitdiff
path: root/common/exports.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/exports.c')
-rw-r--r--common/exports.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/exports.c b/common/exports.c
index 9858217ae0c..ef253381697 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -1,6 +1,8 @@
#include <common.h>
#include <exports.h>
+DECLARE_GLOBAL_DATA_PTR;
+
static void dummy(void)
{
}
@@ -12,7 +14,6 @@ unsigned long get_version(void)
void jumptable_init (void)
{
- DECLARE_GLOBAL_DATA_PTR;
int i;
gd->jt = (void **) malloc (XF_MAX * sizeof (void *));