Re: [PATCH for-6.2 10/10] linux-user: Move DEBUG_REMAP undef to uaccess.c

2021-07-17 Thread Peter Maydell
On Sun, 18 Jul 2021 at 00:21, Peter Maydell wrote: > > Since commit 687ca797893ca1e853, the code that looks at the debug > define DEBUG_REMAP is all in uaccess.c; move the #undef line to > there from qemu.h (thus reducing significantly the amount of code > that gets recompiled if you need to turn

[PATCH for-6.2 10/10] linux-user: Move DEBUG_REMAP undef to uaccess.c

2021-07-17 Thread Peter Maydell
Since commit 687ca797893ca1e853, the code that looks at the debug define DEBUG_REMAP is all in uaccess.c; move the #undef line to there from qemu.h (thus reducing significantly the amount of code that gets recompiled if you need to turn the debug on). Signed-off-by: Peter Maydell ---