We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4983e5d commit a7ef9baCopy full SHA for a7ef9ba
arch/x86/include/asm/nospec-branch.h
@@ -262,7 +262,7 @@ DECLARE_STATIC_KEY_FALSE(mds_idle_clear);
262
* combination with microcode which triggers a CPU buffer flush when the
263
* instruction is executed.
264
*/
265
-static inline void mds_clear_cpu_buffers(void)
+static __always_inline void mds_clear_cpu_buffers(void)
266
{
267
static const u16 ds = __KERNEL_DS;
268
@@ -283,7 +283,7 @@ static inline void mds_clear_cpu_buffers(void)
283
*
284
* Clear CPU buffers if the corresponding static key is enabled
285
286
-static inline void mds_user_clear_cpu_buffers(void)
+static __always_inline void mds_user_clear_cpu_buffers(void)
287
288
if (static_branch_likely(&mds_user_clear))
289
mds_clear_cpu_buffers();
0 commit comments