[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] avoid unused shm_region warning
From: |
Kirill A. Shutemov |
Subject: |
Re: [Qemu-devel] [PATCH] avoid unused shm_region warning |
Date: |
Tue, 14 Oct 2008 13:34:18 +0300 |
User-agent: |
Mutt/1.5.18 (2008-05-29) |
On Tue, Oct 14, 2008 at 11:10:48AM +0200, Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <address@hidden>
> ---
> linux-user/syscall.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> Index: b/linux-user/syscall.c
> ===================================================================
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -1613,11 +1613,6 @@ static abi_long do_socketcall(int num, a
>
> #define N_SHM_REGIONS 32
>
> -static struct shm_region {
> - abi_ulong start;
> - abi_ulong size;
> -} shm_regions[N_SHM_REGIONS];
> -
> struct target_ipc_perm
> {
> abi_long __key;
> @@ -2028,6 +2023,11 @@ end:
> }
>
> #ifdef TARGET_NR_ipc
> +static struct shm_region {
> + abi_ulong start;
> + abi_ulong size;
> +} shm_regions[N_SHM_REGIONS];
> +
> /* ??? This only works with linear mappings. */
> /* do_ipc() must return target values and target errnos. */
> static abi_long do_ipc(unsigned int call, int first,
It goes away when my shm-related patches will be merged.
--
Regards, Kirill A. Shutemov
+ Belarus, Minsk
+ ALT Linux Team, http://www.altlinux.com/
signature.asc
Description: Digital signature