mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-27 20:13:57 +08:00
2874c5fd28
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3029 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
394 B
C
15 lines
394 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/* saved per-CPU IRQ register pointer
|
|
*
|
|
* Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
*/
|
|
#include <linux/export.h>
|
|
#include <linux/percpu.h>
|
|
#include <asm/irq_regs.h>
|
|
|
|
#ifndef ARCH_HAS_OWN_IRQ_REGS
|
|
DEFINE_PER_CPU(struct pt_regs *, __irq_regs);
|
|
EXPORT_PER_CPU_SYMBOL(__irq_regs);
|
|
#endif
|