OSDN Git Service

exec.c: Provide full set of dummy wp remove functions in user-mode
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:48 +0000 (14:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:48 +0000 (14:06 +0100)
commit3ee887e8ff7610d83bf05b0ebd5a1d891f0d8816
tree0073729518b29950123cf15455b386dddda4a4c7
parent05068c0dfb5b23dde42ad0112123bdc8408a1f44
exec.c: Provide full set of dummy wp remove functions in user-mode

We already provide dummy versions of the cpu_watchpoint_insert
and cpu_watchpoint_remove_all functions when CONFIG_USER_ONLY
is defined. Complete the set by providing cpu_watchpoint_remove
and cpu_watchpoint_remove_by_ref as well.

This allows target-* code using these functions to avoid
some ifdeffery.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
exec.c