ANDROID: fix up 131287ff83 ("once: add DO_ONCE_SLOW() for sleepable contexts")

In upstream commit 131287ff83 ("once: add DO_ONCE_SLOW() for sleepable
contexts"), we add a new api for the once code, but due to a previous
revert, we need to fix up the function call to __do_once_slow_done in
order to fix up the build.

Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Fixes: 131287ff83 ("once: add DO_ONCE_SLOW() for sleepable contexts")
Change-Id: I8c948a1b06544a9701d2daba5da9d139dcdf6885
This commit is contained in:
Greg Kroah-Hartman 2022-10-30 11:04:57 +01:00
parent f4606e0bf2
commit 34c78f8fb6

View File

@ -88,6 +88,6 @@ void __do_once_slow_done(bool *done, struct static_key_true *once_key,
{ {
*done = true; *done = true;
mutex_unlock(&once_mutex); mutex_unlock(&once_mutex);
once_disable_jump(once_key, mod); once_disable_jump(once_key);
} }
EXPORT_SYMBOL(__do_once_slow_done); EXPORT_SYMBOL(__do_once_slow_done);