[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <sKlZWc4ZTdYjcxIz044xyWaiwKFcUX0hvTA1IJ_QTzQ3sXhTuLidgIZS2d51P-t1TQHt3F4eXLfXLGbXpisbBqpsZxCsWhpbWUoNe4ESC-o=@protonmail.com>
Date: Sat, 09 Aug 2025 01:18:12 +0000
From: andreasx0 <andreasx0@...tonmail.com>
To: "CC: Thomas Gleixner" <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>, "x86@...nel.org" <x86@...nel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [BUG] x86_64: build failure in switch_fpu() due to missing x86_task_fpu() declaration (v6.16)
Hello,
When building Linux kernel v6.16 for x86_64, I encountered a build failure:
In file included from arch/x86/kernel/process_64.c:46:
./arch/x86/include/asm/fpu/sched.h:37:39: error: implicit declaration of function ‘x86_task_fpu’; did you mean ‘set_task_cpu’? [-Wimplicit-function-declaration]
37 | struct fpu *old_fpu = x86_task_fpu(old);
| ^~~~~~~~~~~~
| set_task_cpu
./arch/x86/include/asm/fpu/sched.h:37:39: error: initialization of ‘struct fpu *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Thanks
Content of type "text/html" skipped
Download attachment "publickey - andreasx0@...tonmail.com - 0xF61BB148.asc" of type "application/pgp-keys" (661 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (344 bytes)
Powered by blists - more mailing lists