diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-31 09:31:31 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-05 08:42:41 -0600 |
commit | 8b097916faa20f04ff4b0147ebcf0331204ec96b (patch) | |
tree | ea4ff098a55f25f620a3e3265637fc3ed3377a59 /arch/x86/cpu/mp_init.c | |
parent | 0bc74ab3e694643cb070ed055964fa2a73d300af (diff) |
x86: Add some missing global_data declarations in files that use gd
Some files use global_data but don't declare it. Fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/mp_init.c')
-rw-r--r-- | arch/x86/cpu/mp_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c index e686b28c9ca..3294a50b760 100644 --- a/arch/x86/cpu/mp_init.c +++ b/arch/x86/cpu/mp_init.c @@ -24,6 +24,8 @@ #include <dm/uclass-internal.h> #include <linux/linkage.h> +DECLARE_GLOBAL_DATA_PTR; + /* Total CPUs include BSP */ static int num_cpus; |