aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-03 07:33:24 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-03 07:33:24 +0000
commit679dee3c6ca84c9111087808d3bfeb768d402566 (patch)
tree75899f7199c1e8224cbc464520de39b2ea8fec84 /target-sh4
parent3c1adf12350b65197d70c4d2911be4d7440d0cfc (diff)
downloadqemu-679dee3c6ca84c9111087808d3bfeb768d402566.zip
qemu-679dee3c6ca84c9111087808d3bfeb768d402566.tar.gz
qemu-679dee3c6ca84c9111087808d3bfeb768d402566.tar.bz2
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 178bfae..d8e08e3 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 */