linux/arch/x86/kernel/cpu/mce/threshold.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Common corrected MCE threshold handler code:
 */
#include <linux/interrupt.h>
#include <linux/kernel.h>

#include <asm/irq_vectors.h>
#include <asm/traps.h>
#include <asm/apic.h>
#include <asm/mce.h>
#include <asm/trace/irq_vectors.h>

#include "internal.h"

static void default_threshold_interrupt(void)
{}

void (*mce_threshold_vector)(void) =;

DEFINE_IDTENTRY_SYSVEC(sysvec_threshold)
{}

DEFINE_PER_CPU(struct mca_storm_desc, storm_desc);

void mce_inherit_storm(unsigned int bank)
{}

bool mce_get_storm_mode(void)
{}

void mce_set_storm_mode(bool storm)
{}

static void mce_handle_storm(unsigned int bank, bool on)
{}

void cmci_storm_begin(unsigned int bank)
{}

void cmci_storm_end(unsigned int bank)
{}

void mce_track_storm(struct mce *mce)
{}