diff options
Diffstat (limited to 'arch/arm/include/asm/fiq_glue.h')
-rw-r--r-- | arch/arm/include/asm/fiq_glue.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/include/asm/fiq_glue.h b/arch/arm/include/asm/fiq_glue.h new file mode 100644 index 00000000000..d54c29db97a --- /dev/null +++ b/arch/arm/include/asm/fiq_glue.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Google, Inc. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef __ASM_FIQ_GLUE_H | ||
15 | #define __ASM_FIQ_GLUE_H | ||
16 | |||
17 | struct fiq_glue_handler { | ||
18 | void (*fiq)(struct fiq_glue_handler *h, void *regs, void *svc_sp); | ||
19 | void (*resume)(struct fiq_glue_handler *h); | ||
20 | }; | ||
21 | |||
22 | int fiq_glue_register_handler(struct fiq_glue_handler *handler); | ||
23 | |||
24 | #ifdef CONFIG_FIQ_GLUE | ||
25 | void fiq_glue_resume(void); | ||
26 | #else | ||
27 | static inline void fiq_glue_resume(void) {} | ||
28 | #endif | ||
29 | |||
30 | #endif | ||