mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
The generic vDSO library expects a vdso/processor.h with an definition of cpu_relax(). Split out cpu_relax() into this dedicated header. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Andreas Larsson <andreas@gaisler.com> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Acked-by: Andreas Larsson <andreas@gaisler.com> Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-9-d8eb3b0e1410@linutronix.de
13 lines
265 B
C
13 lines
265 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef ___ASM_SPARC_PROCESSOR_H
|
|
#define ___ASM_SPARC_PROCESSOR_H
|
|
|
|
#include <asm/vdso/processor.h>
|
|
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
#include <asm/processor_64.h>
|
|
#else
|
|
#include <asm/processor_32.h>
|
|
#endif
|
|
#endif
|