On Mon, 12 May 2025 19:58:39 -0700 Eric Biggers ebiggers@kernel.org wrote:
From: Eric Biggers ebiggers@google.com
Fix several build errors when CONFIG_MODULES=n, including the following:
../arch/x86/kernel/alternative.c:195:25: error: incomplete definition of type 'struct module' 195 | for (int i = 0; i < mod->its_num_pages; i++) {
Fixes: 872df34d7c51 ("x86/its: Use dynamic thunks for indirect branches") Cc: stable@vger.kernel.org Signed-off-by: Eric Biggers ebiggers@google.com
I just hit this build failure while running tests on patches that are on top of tip/master.
Tested-by: Steven Rostedt (Google) rostedt@goodmis.org
-- Steve