From 7282d834cd47cabc481a5cbe6e686ef40751436f Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 Apr 2013 16:13:33 +0000 Subject: x86: Declare global_data pointer when it is used Several files use the global_data pointer without declaring it. This works because the declaration is currently a NOP. But still it is better to fix this so that x86 lines up with other archs. Signed-off-by: Simon Glass --- arch/x86/lib/timer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86/lib/timer.c') diff --git a/arch/x86/lib/timer.c b/arch/x86/lib/timer.c index 1f8ce609e..fb11bfe88 100644 --- a/arch/x86/lib/timer.c +++ b/arch/x86/lib/timer.c @@ -30,6 +30,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + struct timer_isr_function { struct timer_isr_function *next; timer_fnc_t *isr_func; -- cgit v1.2.3-70-g09d2