|
From: | Richard Henderson |
Subject: | Re: [PATCH 02/11] exec: Restrict hwaddr.h to sysemu/ |
Date: | Wed, 26 May 2021 11:15:18 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 5/17/21 4:11 AM, Philippe Mathieu-Daudé wrote:
--- a/include/exec/hwaddr.h +++ b/include/exec/sysemu/hwaddr.h @@ -1,8 +1,9 @@ /* Define hwaddr if it exists. */-#ifndef HWADDR_H-#define HWADDR_H +#ifndef EXEC_SYSEMU_HWADDR_H +#define EXEC_SYSEMU_HWADDR_H+#ifndef CONFIG_USER_ONLY #define HWADDR_BITS 64/* hwaddr is the type of a physical address (its size can @@ -23,4 +24,6 @@ typedef struct MemMapEntry { hwaddr size; } MemMapEntry;+#endif /* !CONFIG_USER_ONLY */+ #endif
Why no #error on this one, unlike the next patch. r~
[Prev in Thread] | Current Thread | [Next in Thread] |