From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve2nd-0002C0-Uv for qemu-devel@nongnu.org; Wed, 06 Nov 2013 08:05:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve2nW-0004x3-7S for qemu-devel@nongnu.org; Wed, 06 Nov 2013 08:05:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve2nV-0004wi-WC for qemu-devel@nongnu.org; Wed, 06 Nov 2013 08:05:26 -0500 From: Juan Quintela Date: Wed, 6 Nov 2013 14:04:34 +0100 Message-Id: <1383743088-8139-26-git-send-email-quintela@redhat.com> In-Reply-To: <1383743088-8139-1-git-send-email-quintela@redhat.com> References: <1383743088-8139-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 25/39] memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: chegu_vinod@hp.com Now all functions use the same wording that bitops/bitmap operations Signed-off-by: Juan Quintela --- exec.c | 2 +- include/exec/memory-internal.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exec.c b/exec.c index 98700d3..b95c584 100644 --- a/exec.c +++ b/exec.c @@ -672,7 +672,7 @@ void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t end, length = end - start; if (length == 0) return; - cpu_physical_memory_mask_dirty_range(start, length, client); + cpu_physical_memory_clear_dirty_range(start, length, client); if (tcg_enabled()) { tlb_reset_dirty_range_all(start, end, length); diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h index de8f279..0c1dbfa 100644 --- a/include/exec/memory-internal.h +++ b/include/exec/memory-internal.h @@ -99,9 +99,9 @@ static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start, xen_modified_memory(addr, length); } -static inline void cpu_physical_memory_mask_dirty_range(ram_addr_t start, - ram_addr_t length, - unsigned client) +static inline void cpu_physical_memory_clear_dirty_range(ram_addr_t start, + ram_addr_t length, + unsigned client) { ram_addr_t addr, end; -- 1.8.3.1