From patchwork Tue Oct 31 12:53:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 117612 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3878189qgn; Tue, 31 Oct 2017 05:57:59 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SCvypyAXILOFiXg9yf1/B+o+hZcdYenuS3ohAyNqMb6U+YKlBSbT/vgJ0BSwgrJDQK1stV X-Received: by 10.37.135.71 with SMTP id e7mr1124050ybn.519.1509454679492; Tue, 31 Oct 2017 05:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509454679; cv=none; d=google.com; s=arc-20160816; b=f5X+DEDvoxLN5qrD2xHx8Dc4SNVnToThSkEuZWIIMoiaYDsHyx5jP/nAiPrOzQJVte T39cBpGsbcbWk19qjj5OI0ofe9TYoqW8hBQIpejbmfi+6pQvVZwun8DmTHCw66j8JAAw 86Bts2GtTZ7zeI9UKtOh1zf76MpokLImIK26jp/qOHcecfYUWflITTfk4n0GyRUxq1kX zKcJnbsHS8uz1KLmT0NuuQPiZiWRyqeVyGE4z0pMDaaX+XG5W6ni56AUmhhxYv/MChJi H0X15egaLhqrI/kj9XqgpinevLnqm4kga8oURCxq66GvNFORIzkp7pcaNCpUTLakDVHP Ds8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=QiasWCH2faLjDVvv1Jal0hWpQ+zIP1464d6sqFz5Xow=; b=rm/9Np3gY065acm+0w5o1czs8nuU+4w77hBl+YSroeqZOl1BbelsBzv5u0xoppl8qL Qc8+n8geSBmtDRc6FAQ894m0Cdb/1MF70AiBvEbsYHHMmk3mBkCwhx2T3rKrE9d5Posa hW5jUhBApMLu68vxvqXigbUT/6qb1B08etFUF6JG2CX4oHrXwChrwdA0PaY7zWIdPkGM s1SDhdmfW8O6huhvc5nUA6cpCC6KdYhHPCTymtWNKsBGm7AEj5WS3dbU1vh4osLeAR/Z 98+zdLWMJ+uAYTmxF9NjoDF6bIgjXH16UcId6/zRJD/wOR8YXRPBa5nr9JrNRHeir7Lr DMkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DYFZXBMl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l206si368914ybc.728.2017.10.31.05.57.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 31 Oct 2017 05:57:59 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DYFZXBMl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9W7D-00055Z-1N for patch@linaro.org; Tue, 31 Oct 2017 08:57:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9W48-0002e6-2b for qemu-devel@nongnu.org; Tue, 31 Oct 2017 08:54:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9W47-0005gv-C8 for qemu-devel@nongnu.org; Tue, 31 Oct 2017 08:54:48 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:49911) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9W47-0005ej-5G for qemu-devel@nongnu.org; Tue, 31 Oct 2017 08:54:47 -0400 Received: by mail-wr0-x244.google.com with SMTP id g90so15837954wrd.6 for ; Tue, 31 Oct 2017 05:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QiasWCH2faLjDVvv1Jal0hWpQ+zIP1464d6sqFz5Xow=; b=DYFZXBMlczQTAD1PFyUcjJDRs9H26FBQq3AkhTrCar7A0nsCTban3eYW37+apbmtSk diP6csu65t0TNRogvfbRGLcHKCCD1o12n0PNGSgv7Q2ngXrDGE8DPOhnXVmjxhegA5/R 6H5ws+P4Szju+zxRVZHhpSCgR2epegQV9CVYU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QiasWCH2faLjDVvv1Jal0hWpQ+zIP1464d6sqFz5Xow=; b=bkGUFUTNQrp3oDPYZnAcCke46j4o7dKbMdJjMmzKF5ymzOosidLV29drV/RehI3HDJ jSx/Zl4ODdJU2e79HIvCKaBgxhPYPptdRtmWkoV9y2vHVXJElhixDJzVeavNjFRSR+Zp tWE5UkH1c0xzXwbsG5fJvSOvdcyAH4lNup2JKGQDWJlEGORUgBqrwl6nRF1TL7U2so4R T0rdLcMBGbum+leXG2xe0IIXNPKpQeuqj8BxaOhG2+AMzUvUD7Ywzyqwo2gg9nNCWx8g iEoIcYxnAcxF6Mj4rnqe+j0EcJHfXNVnTIoKqTjacrU40x0sdm4e2XTE7zUdOiPucTAl qcMQ== X-Gm-Message-State: AMCzsaV8JERrv+KR3TCSvWkdQzqWz5kT34AbDgfEnDlGYUY3Dwgm7vpP otCEANSoauf8bEFXQnIMD5n1x6g8KIo= X-Received: by 10.223.199.205 with SMTP id y13mr1866895wrg.71.1509454485802; Tue, 31 Oct 2017 05:54:45 -0700 (PDT) Received: from cloudburst.twiddle.net.ASUS (p57A4515F.dip0.t-ipconnect.de. [87.164.81.95]) by smtp.gmail.com with ESMTPSA id e131sm999011wmg.15.2017.10.31.05.54.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Oct 2017 05:54:45 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 31 Oct 2017 13:53:57 +0100 Message-Id: <20171031125358.23377-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171031125358.23377-1-richard.henderson@linaro.org> References: <20171031125358.23377-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH 6/7] linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Helge Deller , riku.voipio@iki.fi, Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Helge Deller Signed-off-by: Helge Deller Signed-off-by: Richard Henderson Message-ID: <20170311175019.GA7195@ls3530.fritz.box> --- linux-user/syscall_defs.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.13.6 diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index a6ed30d70e..daa2a57398 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -2361,6 +2361,9 @@ struct target_statfs64 { #define TARGET_F_SETOWN 24 /* for sockets. */ #define TARGET_F_GETOWN 23 /* for sockets. */ #elif defined(TARGET_HPPA) +#define TARGET_F_RDLCK 1 +#define TARGET_F_WRLCK 2 +#define TARGET_F_UNLCK 3 #define TARGET_F_GETLK 5 #define TARGET_F_SETLK 6 #define TARGET_F_SETLKW 7