Revision 273af660 target-i386/helper.c
b/target-i386/helper.c | ||
---|---|---|
3865 | 3865 |
#if !defined(CONFIG_USER_ONLY) |
3866 | 3866 |
|
3867 | 3867 |
#define MMUSUFFIX _mmu |
3868 |
#define GETPC() (__builtin_return_address(0)) |
|
3868 |
#ifdef __s390__ |
|
3869 |
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL)) |
|
3870 |
#else |
|
3871 |
# define GETPC() (__builtin_return_address(0)) |
|
3872 |
#endif |
|
3869 | 3873 |
|
3870 | 3874 |
#define SHIFT 0 |
3871 | 3875 |
#include "softmmu_template.h" |
Also available in: Unified diff