]> Git Repo - linux.git/blob - arch/microblaze/include/asm/entry.h
Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the button count
[linux.git] / arch / microblaze / include / asm / entry.h
1 /*
2  * Definitions used by low-level trap handlers
3  *
4  * Copyright (C) 2008-2009 Michal Simek <[email protected]>
5  * Copyright (C) 2007-2009 PetaLogix
6  * Copyright (C) 2007 John Williams <[email protected]>
7  *
8  * This file is subject to the terms and conditions of the GNU General
9  * Public License. See the file COPYING in the main directory of this
10  * archive for more details.
11  */
12
13 #ifndef _ASM_MICROBLAZE_ENTRY_H
14 #define _ASM_MICROBLAZE_ENTRY_H
15
16 #include <asm/percpu.h>
17 #include <asm/ptrace.h>
18 #include <linux/linkage.h>
19
20 /*
21  * These are per-cpu variables required in entry.S, among other
22  * places
23  */
24
25 #define PER_CPU(var) var
26
27 # ifndef __ASSEMBLY__
28 DECLARE_PER_CPU(unsigned int, KSP); /* Saved kernel stack pointer */
29 DECLARE_PER_CPU(unsigned int, KM); /* Kernel/user mode */
30 DECLARE_PER_CPU(unsigned int, ENTRY_SP); /* Saved SP on kernel entry */
31 DECLARE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */
32 DECLARE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */
33
34 extern asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall);
35 # endif /* __ASSEMBLY__ */
36
37 #endif /* _ASM_MICROBLAZE_ENTRY_H */
This page took 0.033288 seconds and 4 git commands to generate.