x86/fred: Move FRED RSP initialization into a separate function
To enable FRED earlier, move the RSP initialization out of cpu_init_fred_exceptions() into cpu_init_fred_rsps(). This is required as the FRED RSP initialization depends on the availability of the CPU entry areas which are set up late in trap_init(), No functional change intended. Marked with Fixes as it's a depedency for the real fix. Fixes: 14619d91 ("x86/fred: FRED entry/exit and dispatch code") Signed-off-by:Xin Li (Intel) <xin@zytor.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20240709154048.3543361-3-xin@zytor.com
Showing
Please register or sign in to comment