162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Support for the configuration register space at port I/O locations
462306a36Sopenharmony_ci * 0x22 and 0x23 variously used by PC architectures, e.g. the MP Spec,
562306a36Sopenharmony_ci * Cyrix CPUs, numerous chipsets.  As the space is indirectly addressed
662306a36Sopenharmony_ci * it may have to be protected with a spinlock, depending on the context.
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <linux/spinlock.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include <asm/pc-conf-reg.h>
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciDEFINE_RAW_SPINLOCK(pc_conf_lock);
14