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: Tidy up a few minor issues with interrupts
[oweals/u-boot.git]
/
arch
/
x86
/
cpu
/
qemu
/
qemu.c
diff --git
a/arch/x86/cpu/qemu/qemu.c
b/arch/x86/cpu/qemu/qemu.c
index 0f984768e9cb96b59075284c8918ec943235fc16..930d2b6c9d11f2e6d6be03c9db9d7875560d51a6 100644
(file)
--- a/
arch/x86/cpu/qemu/qemu.c
+++ b/
arch/x86/cpu/qemu/qemu.c
@@
-5,6
+5,7
@@
*/
#include <common.h>
+#include <asm/irq.h>
#include <asm/post.h>
#include <asm/processor.h>
@@
-35,3
+36,10
@@
void reset_cpu(ulong addr)
/* cold reset */
x86_full_reset();
}
+
+int arch_misc_init(void)
+{
+ pirq_init();
+
+ return 0;
+}