Commit e88de09993cf37702c1f20f5299471aa123295e6
1 parent
832ed0fa
ARM FPA get_user/put_user fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1266 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
5 deletions
linux-user/qemu.h
| 1 | -#ifndef GEMU_H | ||
| 2 | -#define GEMU_H | 1 | +#ifndef QEMU_H |
| 2 | +#define QEMU_H | ||
| 3 | 3 | ||
| 4 | #include "thunk.h" | 4 | #include "thunk.h" |
| 5 | 5 | ||
| @@ -52,8 +52,6 @@ struct vm86_saved_state { | @@ -52,8 +52,6 @@ struct vm86_saved_state { | ||
| 52 | #ifdef TARGET_ARM | 52 | #ifdef TARGET_ARM |
| 53 | /* FPU emulator */ | 53 | /* FPU emulator */ |
| 54 | #include "nwfpe/fpa11.h" | 54 | #include "nwfpe/fpa11.h" |
| 55 | -#undef put_user | ||
| 56 | -#undef get_user | ||
| 57 | #endif | 55 | #endif |
| 58 | 56 | ||
| 59 | /* NOTE: we force a big alignment so that the stack stored after is | 57 | /* NOTE: we force a big alignment so that the stack stored after is |
| @@ -238,4 +236,4 @@ static inline unsigned long clear_user(void *dst, unsigned long size) | @@ -238,4 +236,4 @@ static inline unsigned long clear_user(void *dst, unsigned long size) | ||
| 238 | return size; | 236 | return size; |
| 239 | } | 237 | } |
| 240 | 238 | ||
| 241 | -#endif | 239 | +#endif /* QEMU_H */ |