summaryrefslogtreecommitdiff
path: root/lib_m68k/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_m68k/time.c')
-rw-r--r--lib_m68k/time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_m68k/time.c b/lib_m68k/time.c
index 267a3cd..3dbce07 100644
--- a/lib_m68k/time.c
+++ b/lib_m68k/time.c
@@ -48,6 +48,8 @@
#include <asm/immap_5249.h>
#endif
+DECLARE_GLOBAL_DATA_PTR;
+
static ulong timestamp;
#if defined(CONFIG_M5282) || defined(CONFIG_M5271)
static unsigned short lastinc;