aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-03-12 23:23:29 +0000
committerPaul Brook <paul@codesourcery.com>2010-03-12 23:25:52 +0000
commitb480d9b74dfd1efd29026b7dc6438364a633ee99 (patch)
treeba5e9af2816fb452437070da74e87d15f55d7255 /exec-all.h
parent4836a2b09a94969d3d69c5c9f9ba8f58767575ca (diff)
Fix usermode virtual address type
Usermode virtual addresses are abi_ulong, not target_ulong. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h
index 6c44d32f85..56e79771a4 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -29,7 +29,7 @@
addresses in userspace mode. Define tb_page_addr_t to be an appropriate
type. */
#if defined(CONFIG_USER_ONLY)
-typedef target_ulong tb_page_addr_t;
+typedef abi_ulong tb_page_addr_t;
#else
typedef ram_addr_t tb_page_addr_t;
#endif