projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Move the GDT into global_data
[oweals/u-boot.git]
/
arch
/
x86
/
cpu
/
mp_init.c
diff --git
a/arch/x86/cpu/mp_init.c
b/arch/x86/cpu/mp_init.c
index e686b28c9ca3bd6a0747861ccb5da4db32753122..3294a50b760cd2ee76802733dd30a4fa1db1d58c 100644
(file)
--- 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;