18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 28c2ecf20Sopenharmony_ci/* saved per-CPU IRQ register pointer 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. 58c2ecf20Sopenharmony_ci * Written by David Howells (dhowells@redhat.com) 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#include <linux/export.h> 88c2ecf20Sopenharmony_ci#include <linux/percpu.h> 98c2ecf20Sopenharmony_ci#include <asm/irq_regs.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifndef ARCH_HAS_OWN_IRQ_REGS 128c2ecf20Sopenharmony_ciDEFINE_PER_CPU(struct pt_regs *, __irq_regs); 138c2ecf20Sopenharmony_ciEXPORT_PER_CPU_SYMBOL(__irq_regs); 148c2ecf20Sopenharmony_ci#endif 15