summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:41 +0000
committerTom Rini <trini@ti.com>2013-02-01 15:39:42 -0500
commit5a35e6c48e833366ea0099c0fffb63b368dba232 (patch)
treeba2e1dc53fbd250d2a6bd61736a5b04e365eeb56 /arch/x86/include
parent0cecc3b67938147bc9b9dfe55a8464b4dd4092de (diff)
downloadblackbird-obmc-uboot-5a35e6c48e833366ea0099c0fffb63b368dba232.tar.gz
blackbird-obmc-uboot-5a35e6c48e833366ea0099c0fffb63b368dba232.zip
x86: Move gd_addr into arch_global_data
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Add arch/x86/cpu/cpu.c changes after Graeme's comments] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/global_data.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
index 9a4f141bf8..eded279758 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -28,6 +28,7 @@
/* Architecture-specific global data */
struct arch_global_data {
+ struct global_data *gd_addr; /* Location of Global Data */
};
/*
@@ -44,8 +45,6 @@ typedef struct global_data gd_t;
struct global_data {
struct arch_global_data arch; /* architecture-specific data */
- /* NOTE: gd_addr MUST be first member of struct global_data! */
- gd_t *gd_addr; /* Location of Global Data */
bd_t *bd;
unsigned long flags;
unsigned int baudrate;
OpenPOWER on IntegriCloud