Revision 7d600c80
b/linux-user/syscall.c | ||
---|---|---|
2933 | 2933 |
lock_user_struct(target_st, arg2, 0); |
2934 | 2934 |
target_st->st_dev = tswap16(st.st_dev); |
2935 | 2935 |
target_st->st_ino = tswapl(st.st_ino); |
2936 |
#if defined(TARGET_PPC) |
|
2936 |
#if defined(TARGET_PPC) || defined(TARGET_MIPS)
|
|
2937 | 2937 |
target_st->st_mode = tswapl(st.st_mode); /* XXX: check this */ |
2938 | 2938 |
target_st->st_uid = tswap32(st.st_uid); |
2939 | 2939 |
target_st->st_gid = tswap32(st.st_gid); |
... | ... | |
3829 | 3829 |
break; |
3830 | 3830 |
} |
3831 | 3831 |
#endif |
3832 |
#ifdef TARGET_NR_cacheflush |
|
3833 |
case TARGET_NR_cacheflush: |
|
3834 |
/* self-modifying code is handled automatically, so nothing needed */ |
|
3835 |
ret = 0; |
|
3836 |
break; |
|
3837 |
#endif |
|
3832 | 3838 |
#ifdef TARGET_NR_security |
3833 | 3839 |
case TARGET_NR_security: |
3834 | 3840 |
goto unimplemented; |
Also available in: Unified diff