summaryrefslogtreecommitdiffstats
path: root/target-sh4
diff options
context:
space:
mode:
authoredgar_igl2009-04-03 09:33:24 +0200
committeredgar_igl2009-04-03 09:33:24 +0200
commit679dee3c6ca84c9111087808d3bfeb768d402566 (patch)
tree75899f7199c1e8224cbc464520de39b2ea8fec84 /target-sh4
parentSH: Add cpu_sh4_is_cached for linux-user. (diff)
downloadqemu-679dee3c6ca84c9111087808d3bfeb768d402566.tar.gz
qemu-679dee3c6ca84c9111087808d3bfeb768d402566.tar.xz
qemu-679dee3c6ca84c9111087808d3bfeb768d402566.zip
SH: Fix linux-user _is_cached typo.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6970 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index 178bfae99a..d8e08e305c 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -63,7 +63,7 @@ target_phys_addr_t cpu_get_phys_page_debug(CPUState * env, target_ulong addr)
int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr)
{
/* For user mode, only U0 area is cachable. */
- return !!(addr & 0x80000000);
+ return !(addr & 0x80000000);
}
#else /* !CONFIG_USER_ONLY */