]> www.infradead.org Git - users/willy/pagecache.git/commit
x86/static-call: fix 32-bit build
authorJuergen Gross <jgross@suse.com>
Wed, 18 Dec 2024 08:02:28 +0000 (09:02 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Dec 2024 17:47:43 +0000 (09:47 -0800)
commit349f0086ba8b2a169877d21ff15a4d9da3a60054
tree8a64f4395ca6b3db78ca28d7acb76200d0a568b1
parentaef25be35d23ec768eed08bfcf7ca3cf9685bc28
x86/static-call: fix 32-bit build

In 32-bit x86 builds CONFIG_STATIC_CALL_INLINE isn't set, leading to
static_call_initialized not being available.

Define it as "0" in that case.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 0ef8047b737d ("x86/static-call: provide a way to do very early static-call updates")
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/static_call.h