diff options
author | BenoƮt Canet <benoit.canet@gmail.com> | 2011-11-17 14:23:01 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-24 18:32:03 +0200 |
commit | b279e5efc0aa3a62c5bce21bc31700e828ca9cd8 (patch) | |
tree | 3385c382a9515e46b4d1caeff1aff308859e59f4 /target-sh4/helper.c | |
parent | 89e29451407353587a744a27d2896850d7c7624d (diff) |
sh_intc: convert interrupt controller to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-sh4/helper.c')
-rw-r--r-- | target-sh4/helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 5a1e15e63d..f4dda48dd1 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -24,7 +24,10 @@ #include <signal.h> #include "cpu.h" + +#if !defined(CONFIG_USER_ONLY) #include "hw/sh_intc.h" +#endif #if defined(CONFIG_USER_ONLY) |