summaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-23 06:55:41 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-10-28 11:57:23 +0000
commit845652b8bbaeca8373bcf574e12e7d4e406b72e9 (patch)
treee4d3c9cd1cb12ae13aef9a07d5bb86d4b0468b83 /src/cpu/x86/lapic
parent400f9ca2613297b3034d96286eeeb009a1eb2ac0 (diff)
src/cpu: Use 'include <stdlib.h>' when appropriate
Also: add some missing includes spotted by Jenkins. Including <types.h>, is supposed to provide stdint and stddef. Change-Id: I7bd999b59d1c0bdfa5999bf5805576f94c9a2390 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33680 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/x86/lapic')
-rw-r--r--src/cpu/x86/lapic/lapic_cpu_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 668988a70e..e7dfc5798d 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -28,6 +28,7 @@
#include <smp/spinlock.h>
#include <cpu/cpu.h>
#include <cpu/intel/speedstep.h>
+#include <stdlib.h>
#include <thread.h>
/* This is a lot more paranoid now, since Linux can NOT handle