From 20afaed98b7b1796f2e67213e4118bc64b50b03a Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 21 Mar 2017 09:09:14 +0100 Subject: ram: Rename qemu_target_page_bits() to qemu_target_page_size() It was used as a size in all cases except one. Signed-off-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert --- exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index c97ef4a8da..7a640c76b6 100644 --- a/exec.c +++ b/exec.c @@ -3307,9 +3307,9 @@ int cpu_memory_rw_debug(CPUState *cpu, target_ulong addr, * Allows code that needs to deal with migration bitmaps etc to still be built * target independent. */ -size_t qemu_target_page_bits(void) +size_t qemu_target_page_size(void) { - return TARGET_PAGE_BITS; + return TARGET_PAGE_SIZE; } #endif -- cgit v1.2.3