[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] take2. SH: Fix struct target_stat64 for 64bit h
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] take2. SH: Fix struct target_stat64 for 64bit host |
Date: |
Fri, 30 Jan 2009 20:48:21 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Oct 27, 2008 at 12:37:39AM +0900, address@hidden wrote:
> I send fixed one, because I found (perhaps) I should send fixed patch with
> signed-off line to be committed to the repository....
>
> This one simply add packed attribute to the struct, as michael pointed out.
>
> Signed-off-by: Takashi YOSHII <address@hidden>
Thanks, applied.
> ---
> linux-user/syscall_defs.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
> index 5a58010..8131905 100644
> --- a/linux-user/syscall_defs.h
> +++ b/linux-user/syscall_defs.h
> @@ -1475,7 +1475,7 @@ struct target_stat {
> /* This matches struct stat64 in glibc2.1, hence the absolutely
> * insane amounts of padding around dev_t's.
> */
> -struct target_stat64 {
> +struct __attribute__((__packed__)) target_stat64 {
> unsigned long long st_dev;
> unsigned char __pad0[4];
>
> --
> 1.5.4.3
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] take2. SH: Fix struct target_stat64 for 64bit host,
Aurelien Jarno <=