https://github.com/torvalds/linux
Raw File
Tip revision: df0cc57e057f18e44dac8e6c18aba47ab53202f9 authored by Linus Torvalds on 09 January 2022, 22:55:34 UTC
Linux 5.16
Tip revision: df0cc57
pc-conf-reg.c
// SPDX-License-Identifier: GPL-2.0
/*
 * Support for the configuration register space at port I/O locations
 * 0x22 and 0x23 variously used by PC architectures, e.g. the MP Spec,
 * Cyrix CPUs, numerous chipsets.  As the space is indirectly addressed
 * it may have to be protected with a spinlock, depending on the context.
 */

#include <linux/spinlock.h>

#include <asm/pc-conf-reg.h>

DEFINE_RAW_SPINLOCK(pc_conf_lock);
back to top