]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - lib/irq_regs.c
x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
[mirror_ubuntu-jammy-kernel.git] / lib / irq_regs.c
CommitLineData
2874c5fd 1// SPDX-License-Identifier: GPL-2.0-or-later
7d12e780
DH
2/* saved per-CPU IRQ register pointer
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
7d12e780 6 */
8bc3bcc9
PG
7#include <linux/export.h>
8#include <linux/percpu.h>
7d12e780
DH
9#include <asm/irq_regs.h>
10
11#ifndef ARCH_HAS_OWN_IRQ_REGS
12DEFINE_PER_CPU(struct pt_regs *, __irq_regs);
efbc52f9 13EXPORT_PER_CPU_SYMBOL(__irq_regs);
7d12e780 14#endif