162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
262306a36Sopenharmony_ci/* saved per-CPU IRQ register pointer
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
562306a36Sopenharmony_ci * Written by David Howells (dhowells@redhat.com)
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci#include <linux/export.h>
862306a36Sopenharmony_ci#include <linux/percpu.h>
962306a36Sopenharmony_ci#include <asm/irq_regs.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifndef ARCH_HAS_OWN_IRQ_REGS
1262306a36Sopenharmony_ciDEFINE_PER_CPU(struct pt_regs *, __irq_regs);
1362306a36Sopenharmony_ciEXPORT_PER_CPU_SYMBOL(__irq_regs);
1462306a36Sopenharmony_ci#endif
15