Path: blob/master/arch/mn10300/include/asm/irq_regs.h
15126 views
/* MN10300 IRQ registers pointer definition1*2* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public Licence7* as published by the Free Software Foundation; either version8* 2 of the Licence, or (at your option) any later version.9*/10#ifndef _ASM_IRQ_REGS_H11#define _ASM_IRQ_REGS_H1213/*14* Per-cpu current frame pointer - the location of the last exception frame on15* the stack16*/17#define ARCH_HAS_OWN_IRQ_REGS1819#ifndef __ASSEMBLY__20static inline __attribute__((const))21struct pt_regs *get_irq_regs(void)22{23return current_frame();24}25#endif2627#endif /* _ASM_IRQ_REGS_H */282930