mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Add cpu_relax() helper in preparation for supporting read_poll_timeout(). Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Reviewed-by: Daniel Almeida <[email protected]> Acked-by: Miguel Ojeda <[email protected]> Signed-off-by: FUJITA Tomonori <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
9 lines
118 B
C
9 lines
118 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <linux/processor.h>
|
|
|
|
void rust_helper_cpu_relax(void)
|
|
{
|
|
cpu_relax();
|
|
}
|