diff options
author | Michal Simek <monstr@monstr.eu> | 2009-04-21 08:08:47 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-04-23 10:27:33 -0400 |
commit | 2921e2bd679949a7892d308b414e6a3b3c705260 (patch) | |
tree | 4be639979e46583a1c6e2d12b26a78b989a8c49c /arch/microblaze/include | |
parent | 6dfb79aa114ac69032f3931235ffc90799e9630b (diff) |
microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too
For noMMU kernel this change nothing bring but this change
helps with MMU synchronization.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/entry.h | 3 | ||||
-rw-r--r-- | arch/microblaze/include/asm/processor.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/entry.h b/arch/microblaze/include/asm/entry.h index 1019d88b8129..e4c3aef884df 100644 --- a/arch/microblaze/include/asm/entry.h +++ b/arch/microblaze/include/asm/entry.h | |||
@@ -31,4 +31,7 @@ DECLARE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */ | |||
31 | DECLARE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */ | 31 | DECLARE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */ |
32 | # endif /* __ASSEMBLY__ */ | 32 | # endif /* __ASSEMBLY__ */ |
33 | 33 | ||
34 | /* noMMU hasn't any space for args */ | ||
35 | # define STATE_SAVE_ARG_SPACE (0) | ||
36 | |||
34 | #endif /* _ASM_MICROBLAZE_ENTRY_H */ | 37 | #endif /* _ASM_MICROBLAZE_ENTRY_H */ |
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index 89aa3956929b..9329029d2614 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #include <asm/setup.h> | 15 | #include <asm/setup.h> |
16 | #include <asm/registers.h> | 16 | #include <asm/registers.h> |
17 | #include <asm/segment.h> | 17 | #include <asm/segment.h> |
18 | #include <asm/entry.h> | ||
19 | #include <asm/current.h> | ||
18 | 20 | ||
19 | # ifndef __ASSEMBLY__ | 21 | # ifndef __ASSEMBLY__ |
20 | /* from kernel/cpu/mb.c */ | 22 | /* from kernel/cpu/mb.c */ |