x86: Declare global_data pointer when it is used
authorSimon Glass <sjg@chromium.org>
Wed, 17 Apr 2013 16:13:33 +0000 (16:13 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 13 May 2013 20:33:20 +0000 (13:33 -0700)
commit7282d834cd47cabc481a5cbe6e686ef40751436f
tree6f707a89d27ea9b012817931d68de8ad1624f777
parentfa790fa0a91b9d029ec6fdac791066bc5d16b862
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 <sjg@chromium.org>
arch/x86/cpu/interrupts.c
arch/x86/lib/cmd_boot.c
arch/x86/lib/physmem.c
arch/x86/lib/relocate.c
arch/x86/lib/timer.c