summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/common/smihandler.c')
-rw-r--r--src/southbridge/intel/common/smihandler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/smihandler.c b/src/southbridge/intel/common/smihandler.c
index fb2fe59bd1..0fd8ab0506 100644
--- a/src/southbridge/intel/common/smihandler.c
+++ b/src/southbridge/intel/common/smihandler.c
@@ -484,7 +484,11 @@ static smi_handler_t southbridge_smi[32] = {
* @param node
* @param state_save
*/
+#if IS_ENABLED(CONFIG_SMM_TSEG)
void southbridge_smi_handler(void)
+#else
+void cpu_smi_handler(unsigned int node, smm_state_save_area_t *state_save)
+#endif
{
int i, dump = 0;
u32 smi_sts;