Back to home page

LXR

 
 

    


0001 /* saved per-CPU IRQ register pointer
0002  *
0003  * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
0004  * Written by David Howells (dhowells@redhat.com)
0005  *
0006  * This program is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU General Public License
0008  * as published by the Free Software Foundation; either version
0009  * 2 of the License, or (at your option) any later version.
0010  */
0011 #include <linux/export.h>
0012 #include <linux/percpu.h>
0013 #include <asm/irq_regs.h>
0014 
0015 #ifndef ARCH_HAS_OWN_IRQ_REGS
0016 DEFINE_PER_CPU(struct pt_regs *, __irq_regs);
0017 EXPORT_PER_CPU_SYMBOL(__irq_regs);
0018 #endif