On 3/6/23 00:58, Philippe Mathieu-Daudé wrote:
CONFIG_SOFTMMU is the opposite of CONFIG_USER_ONLY.
Now that CONFIG_SOFTMMU isn't poisoined anymore,
replace !CONFIG_USER_ONLY negation by the positive
form which is clearer when reviewing code.

Change mostly done mechanically using:

   $ sed -i -e 's/ifndef CONFIG_USER_ONLY/ifdef CONFIG_SOFTMMU/' \
            -e 's/!defined(CONFIG_USER_ONLY)/defined(CONFIG_SOFTMMU)/' \
                $(git grep -l CONFIG_USER_ONLY)

and adapting comments manually.

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>

*Sigh* I was not building in the correct build directory,
now I realize this patch is crap because the CONFIG_SOFTMMU
definitions is not propagated on all objects.

Please disregard...

Reply via email to