summaryrefslogtreecommitdiff
path: root/arch/x86/machine/trap.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-04-29 21:47:28 +0200
committerRichard Braun <rbraun@sceen.net>2017-04-29 21:59:03 +0200
commit5a048710ee9dd4112ec467da29fef27ef18b0876 (patch)
tree6998b99fc74d459c00d0e3bd2d50c56502c24be2 /arch/x86/machine/trap.c
parentd78a948f0a1d8b7b3385944c736d7cffd8ca67a7 (diff)
New stdio.h standard header
Make kernel code obtain definitions for the printf family of functions through the inclusion of the standard stdio.h header.
Diffstat (limited to 'arch/x86/machine/trap.c')
-rw-r--r--arch/x86/machine/trap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/machine/trap.c b/arch/x86/machine/trap.c
index 2d25ce92..9a2fe151 100644
--- a/arch/x86/machine/trap.c
+++ b/arch/x86/machine/trap.c
@@ -19,11 +19,12 @@
* additional configuration and resources to be properly handled.
*/
+#include <stdio.h>
+
#include <kern/assert.h>
#include <kern/init.h>
#include <kern/macros.h>
#include <kern/param.h>
-#include <kern/printf.h>
#include <kern/thread.h>
#include <machine/cpu.h>
#include <machine/lapic.h>