diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-13 18:02:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-13 18:02:22 -0400 |
commit | b5c851a88a369854c04e511cefb84ea2d0cfa209 (patch) | |
tree | 55084d3d51708f90f27d0a70db5ab63916942f14 /arch/microblaze/include/asm/entry.h | |
parent | eb02ce017dd83985041a7e54c6449f92d53b026f (diff) | |
parent | 80a04d3f2f94fb68b5df05e3ac6697130bc3467a (diff) |
Merge branch 'linus' into tracing/core
Merge reason: merge latest tracing fixes to avoid conflicts in
kernel/trace/trace_events_filter.c with upcoming change
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/microblaze/include/asm/entry.h')
-rw-r--r-- | arch/microblaze/include/asm/entry.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/entry.h b/arch/microblaze/include/asm/entry.h new file mode 100644 index 000000000000..7f57e42ee467 --- /dev/null +++ b/arch/microblaze/include/asm/entry.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * Definitions used by low-level trap handlers | ||
3 | * | ||
4 | * Copyright (C) 2008 Michal Simek | ||
5 | * Copyright (C) 2007 - 2008 PetaLogix | ||
6 | * Copyright (C) 2007 John Williams <john.williams@petalogix.com> | ||
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 | |||
19 | /* | ||
20 | * These are per-cpu variables required in entry.S, among other | ||
21 | * places | ||
22 | */ | ||
23 | |||
24 | #define PER_CPU(var) per_cpu__##var | ||
25 | |||
26 | # ifndef __ASSEMBLY__ | ||
27 | DECLARE_PER_CPU(unsigned int, KSP); /* Saved kernel stack pointer */ | ||
28 | DECLARE_PER_CPU(unsigned int, KM); /* Kernel/user mode */ | ||
29 | DECLARE_PER_CPU(unsigned int, ENTRY_SP); /* Saved SP on kernel entry */ | ||
30 | DECLARE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */ | ||
31 | DECLARE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */ | ||
32 | DECLARE_PER_CPU(unsigned int, SYSCALL_SAVE); /* Saved syscall number */ | ||
33 | # endif /* __ASSEMBLY__ */ | ||
34 | |||
35 | #endif /* _ASM_MICROBLAZE_ENTRY_H */ | ||