linux-user: Replace init_guest_commpage macro with function
Turn the fallback macro into a function. This will produce a link error if the other macros are set up incorrectly. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6a91f64ee1
commit
6e1c4ec458
1 changed files with 1 additions and 1 deletions
|
|
@ -1115,7 +1115,7 @@ static abi_ulong create_elf_tables(abi_ulong p, int argc, int envc,
|
|||
#define HI_COMMPAGE 0
|
||||
#define LO_COMMPAGE -1
|
||||
#ifndef HAVE_GUEST_COMMPAGE
|
||||
#define init_guest_commpage() true
|
||||
bool init_guest_commpage(void) { return true; }
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue