linux/arch/x86/kernel/apic/init.c

// SPDX-License-Identifier: GPL-2.0-only
#define pr_fmt(fmt)

#include <asm/apic.h>

#include "local.h"

/*
 * Use DEFINE_STATIC_CALL_NULL() to avoid having to provide stub functions
 * for each callback. The callbacks are setup during boot and all except
 * wait_icr_idle() must be initialized before usage. The IPI wrappers
 * use static_call() and not static_call_cond() to catch any fails.
 */
#define DEFINE_APIC_CALL(__cb)

DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();
DEFINE_APIC_CALL();

EXPORT_STATIC_CALL_TRAMP_GPL();
EXPORT_STATIC_CALL_TRAMP_GPL();

/* The container for function call overrides */
struct apic_override __x86_apic_override __initdata;

#define apply_override(__cb)

static __init void restore_override_callbacks(void)
{}

#define update_call(__cb)

static __init void update_static_calls(void)
{}

void __init apic_setup_apic_calls(void)
{}

void __init apic_install_driver(struct apic *driver)
{}