1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* saved per-CPU IRQ register pointer 2 /* saved per-CPU IRQ register pointer 3 * 3 * 4 * Copyright (C) 2006 Red Hat, Inc. All Rights 4 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. 5 * Written by David Howells (dhowells@redhat.c 5 * Written by David Howells (dhowells@redhat.com) 6 */ 6 */ 7 #include <linux/export.h> 7 #include <linux/export.h> 8 #include <linux/percpu.h> 8 #include <linux/percpu.h> 9 #include <asm/irq_regs.h> 9 #include <asm/irq_regs.h> 10 10 11 #ifndef ARCH_HAS_OWN_IRQ_REGS 11 #ifndef ARCH_HAS_OWN_IRQ_REGS 12 DEFINE_PER_CPU(struct pt_regs *, __irq_regs); 12 DEFINE_PER_CPU(struct pt_regs *, __irq_regs); 13 EXPORT_PER_CPU_SYMBOL(__irq_regs); 13 EXPORT_PER_CPU_SYMBOL(__irq_regs); 14 #endif 14 #endif 15 15
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.