diff options
| author | Marco Elver <elver@google.com> | 2025-12-19 16:40:01 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-01-05 16:43:29 +0100 |
| commit | 5f7ba059710609bb997d50775ba92fbf29be51da (patch) | |
| tree | dafbdb243a86affc075cc30a6b16149afa9f7624 /include/linux/serdev.h | |
| parent | 8f8a55f49cda5fee914bbea1ab5af8df3a6ba8af (diff) | |
bit_spinlock: Include missing <asm/processor.h>
Including <linux/bit_spinlock.h> into an empty TU will result in the
compiler complaining:
./include/linux/bit_spinlock.h:34:4: error: call to undeclared function 'cpu_relax'; <...>
34 | cpu_relax();
| ^
1 error generated.
Include <asm/processor.h> to allow including bit_spinlock.h where
<asm/processor.h> is not otherwise included.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251219154418.3592607-13-elver@google.com
Diffstat (limited to 'include/linux/serdev.h')
0 files changed, 0 insertions, 0 deletions
