blob: 0d545a93070eaf9ea87e6b801e8008a94fc005d2 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001// SPDX-License-Identifier: GPL-2.0-or-later
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/* 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)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
7#include <linux/export.h>
8#include <linux/percpu.h>
9#include <asm/irq_regs.h>
10
11#ifndef ARCH_HAS_OWN_IRQ_REGS
12DEFINE_PER_CPU(struct pt_regs *, __irq_regs);
13EXPORT_PER_CPU_SYMBOL(__irq_regs);
14#endif