aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-06-08 14:47:07 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-06-18 22:13:43 -0500
commitb1dee4a43dc3b10e89355964c8cd1f6e26447837 (patch)
tree34af57bd53fd0fcc2204d799c618b23d5d7d6176 /core
parent1839d2c714f825689ee61b66adb41726e2d14099 (diff)
downloadskiboot-b1dee4a43dc3b10e89355964c8cd1f6e26447837.zip
skiboot-b1dee4a43dc3b10e89355964c8cd1f6e26447837.tar.gz
skiboot-b1dee4a43dc3b10e89355964c8cd1f6e26447837.tar.bz2
Split debug_descriptor out into own include file
We only touch it in limited places, let's simplify skiboot.h Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/console-log.c1
-rw-r--r--core/init.c1
-rw-r--r--core/trace.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/core/console-log.c b/core/console-log.c
index 642b39c..dd23027 100644
--- a/core/console-log.c
+++ b/core/console-log.c
@@ -26,6 +26,7 @@
#include "stdio.h"
#include "console.h"
#include "timebase.h"
+#include <debug_descriptor.h>
static int vprlog(int log_level, const char *fmt, va_list ap)
{
diff --git a/core/init.c b/core/init.c
index 90f5f52..1ad747e 100644
--- a/core/init.c
+++ b/core/init.c
@@ -52,6 +52,7 @@
#include <imc.h>
#include <dts.h>
#include <sbe-p9.h>
+#include <debug_descriptor.h>
enum proc_gen proc_gen;
unsigned int pcie_max_link_speed;
diff --git a/core/trace.c b/core/trace.c
index ef7c2ca..d4e1b1d 100644
--- a/core/trace.c
+++ b/core/trace.c
@@ -25,6 +25,7 @@
#include <processor.h>
#include <skiboot.h>
#include <opal-api.h>
+#include <debug_descriptor.h>
#define DEBUG_TRACES