17d12e780SDavid Howells /* saved per-CPU IRQ register pointer 27d12e780SDavid Howells * 37d12e780SDavid Howells * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. 47d12e780SDavid Howells * Written by David Howells (dhowells@redhat.com) 57d12e780SDavid Howells * 67d12e780SDavid Howells * This program is free software; you can redistribute it and/or 77d12e780SDavid Howells * modify it under the terms of the GNU General Public License 87d12e780SDavid Howells * as published by the Free Software Foundation; either version 97d12e780SDavid Howells * 2 of the License, or (at your option) any later version. 107d12e780SDavid Howells */ 118bc3bcc9SPaul Gortmaker #include <linux/export.h> 128bc3bcc9SPaul Gortmaker #include <linux/percpu.h> 137d12e780SDavid Howells #include <asm/irq_regs.h> 147d12e780SDavid Howells 157d12e780SDavid Howells #ifndef ARCH_HAS_OWN_IRQ_REGS 167d12e780SDavid Howells DEFINE_PER_CPU(struct pt_regs *, __irq_regs); 17efbc52f9SAndrew Morton EXPORT_PER_CPU_SYMBOL(__irq_regs); 187d12e780SDavid Howells #endif 19