|
From: | Xiao Guangrong |
Subject: | Re: [Qemu-devel] [PATCH v2 07/18] nvdimm: reserve address range for NVDIMM |
Date: | Wed, 26 Aug 2015 17:39:38 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 08/25/2015 11:12 PM, Stefan Hajnoczi wrote:
On Fri, Aug 14, 2015 at 10:52:00PM +0800, Xiao Guangrong wrote:diff --git a/hw/mem/nvdimm/pc-nvdimm.c b/hw/mem/nvdimm/pc-nvdimm.c index a53d235..7a270a8 100644 --- a/hw/mem/nvdimm/pc-nvdimm.c +++ b/hw/mem/nvdimm/pc-nvdimm.c @@ -24,6 +24,19 @@ #include "hw/mem/pc-nvdimm.h" +#define PAGE_SIZE (1UL << 12)This macro name is likely to collide with system headers or other code. Could you use the existing TARGET_PAGE_SIZE constant instead?
Will follow your way in the next version. Thank you for pointing it out.
[Prev in Thread] | Current Thread | [Next in Thread] |