]> git.ipfire.org Git - thirdparty/qemu.git/commit
fuzz: add missing header for rcu_enable_atfork
authorAlexander Bulekov <alxndr@bu.edu>
Wed, 8 Jul 2020 20:01:04 +0000 (16:01 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 13 Jul 2020 09:40:52 +0000 (11:40 +0200)
commit230225eaaa47f23acffef2f21f9bfb1e99b27b31
tree76b23bf3fee378a9d66ffe3e7e196b4861bf33c5
parent0ab6c2384ccae8968517f6883897509cd5f51a40
fuzz: add missing header for rcu_enable_atfork

In 45222b9a90, I fixed a broken check for rcu_enable_atfork introduced
in d6919e4cb6. I added a call to rcu_enable_atfork after the
call to qemu_init in fuzz.c, but forgot to include the corresponding
header, breaking --enable-fuzzing --enable-werror builds.

Fixes: 45222b9a90 ("fuzz: fix broken qtest check at rcu_disable_atfork")
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20200708200104.21978-3-alxndr@bu.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/fuzz.c