Revision 273af660 target-ppc/op_helper.c
b/target-ppc/op_helper.c | ||
---|---|---|
2732 | 2732 |
#if !defined (CONFIG_USER_ONLY) |
2733 | 2733 |
|
2734 | 2734 |
#define MMUSUFFIX _mmu |
2735 |
#define GETPC() (__builtin_return_address(0)) |
|
2735 |
#ifdef __s390__ |
|
2736 |
# define GETPC() ((void*)((unsigned long)__builtin_return_address(0) & 0x7fffffffUL)) |
|
2737 |
#else |
|
2738 |
# define GETPC() (__builtin_return_address(0)) |
|
2739 |
#endif |
|
2736 | 2740 |
|
2737 | 2741 |
#define SHIFT 0 |
2738 | 2742 |
#include "softmmu_template.h" |
Also available in: Unified diff