diff mbox

memory: fix warning during make

Message ID 33183CC9F5247A488A2544077AF19020815C19BA@SZXEMA503-MBS.china.huawei.com
State New
Headers show

Commit Message

Gonglei (Arei) Feb. 11, 2014, 12:31 p.m. UTC
Hi

From 3e8c08565cc546b79d720b92e4a46470a57086bc Mon Sep 17 00:00:00 2001
From: Gonglei <arei.gonglei@huawei.com>

Date: Tue, 11 Feb 2014 06:32:45 -0500
Subject: [PATCH] memory: fix warning during make

fix warning during make
include/exec/ram_addr.h:66: warning: implicit declaration of function bitmap_set
,.etc.

Signed-off-by: Chen Liang <chenliang88@huawei.com>

Signed-off-by: Gonglei <arei.gonglei@huawei.com>

---
 include/exec/ram_addr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.6.0.2



Best regards,
-Gonglei
diff mbox

Patch

diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h
index 2edfa96..d031168 100644
--- a/include/exec/ram_addr.h
+++ b/include/exec/ram_addr.h
@@ -21,11 +21,11 @@ 
 
 #ifndef CONFIG_USER_ONLY
 #include "hw/xen/xen.h"
+#include "qemu/bitmap.h"
 
 ram_addr_t qemu_ram_alloc_from_ptr(ram_addr_t size, void *host,
                                    MemoryRegion *mr);
 ram_addr_t qemu_ram_alloc(ram_addr_t size, MemoryRegion *mr);
-void *qemu_get_ram_ptr(ram_addr_t addr);
 void qemu_ram_free(ram_addr_t addr);
 void qemu_ram_free_from_ptr(ram_addr_t addr);