From patchwork Mon Nov 20 21:21:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 119322 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4395604qgn; Mon, 20 Nov 2017 13:27:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMbl8TgkdN7ej5962iRNMml1hx0e96tLW5bw4rEcqTj9FbOmW4X+sF1JUGE82kiFVcUMRa91 X-Received: by 10.37.173.202 with SMTP id d10mr9791680ybe.38.1511213270124; Mon, 20 Nov 2017 13:27:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511213270; cv=none; d=google.com; s=arc-20160816; b=dYqhjpCjPBvw8e99bHweCxtayRdXy7STQX2o1NpzRfv/4cRUcI85idZsbIe5OA8uRJ s/YmqIR26lC2Ff/0lA9rVT4yTnCxIfK+3KCZB1jHB3e2Gc3AxqV8QN9chRO7jnxiXWfV 9uhgnX4KlZSogi1aSlxApLTzyGhO+LojgKQBTCRbwViUxhG2pcwfQSUO3rYH5XJEXpN4 GcX+i1S9IZP2KlGvQUCiKCogxX8V50NyGpO6i7e1YLyL6AnQiGmyvdiUr+IRL2uTJu9z jSm1hvfi+yU36jhNMLEIJN8bXP+jzC3CzBDbuhrRH2rKa6N/uYfB3F12SQitIJkXxMAr 0ccA== 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=Hvz9xrtwjsC7UFCAwcxbWiygLn6YfehGWmtU28YNCsI=; b=lQGzwrt1RTj3cMvy0I4HaS+77ztNH9QqwXPF9fG0mQvz1lGXH3nc4WgbGOs+rx0saX 1ia7ZRVeBkHe61ECfYKlk/4yAfxhBlvP+UnzS+YVtwQT9/WAgMNJi0CVHIL8x+7NYQZF DCgn5kepVUP9J9py9wGT0fAj6AwheNEQS1cqbMZl3qkcnqz8HSLhoRSDq0ZJkpKUcuSt rvNa0rJbbL1LAyRrALRYBLn/QHVBb6EGdWK/seZ9cgmOZRUdqG+lHNpMWH04iHIce2VJ zIKhIXPzusa4DDhRrrVhSrlnvnLUaOHI3QdWL6JBN5JvoOXLTf5M+5El9az8e/sTfx+3 Bi4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YneezGWt; 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 n2si2218824ybh.251.2017.11.20.13.27.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 20 Nov 2017 13:27:50 -0800 (PST) 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=YneezGWt; 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]:59826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtbZ-00019j-I4 for patch@linaro.org; Mon, 20 Nov 2017 16:27:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtVv-0004c9-BH for qemu-devel@nongnu.org; Mon, 20 Nov 2017 16:22:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGtVs-0007n1-5H for qemu-devel@nongnu.org; Mon, 20 Nov 2017 16:21:59 -0500 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:42558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGtVr-0007mK-UU for qemu-devel@nongnu.org; Mon, 20 Nov 2017 16:21:56 -0500 Received: by mail-lf0-x244.google.com with SMTP id m1so11692250lfj.9 for ; Mon, 20 Nov 2017 13:21:55 -0800 (PST) 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=Hvz9xrtwjsC7UFCAwcxbWiygLn6YfehGWmtU28YNCsI=; b=YneezGWtsCk25h6QQkUkHQnUWtWoEufX29yiPoj9Cxm0/iU7I5hTi1I+tHnK97z7vs 9SL25od2NCVdCPVNLbsTTsRNC4zynTSL1JETOzvLFqEv36cMQG+VGAEQ0Z2/lkfjTpb9 CxfJI6nT7LxfAiynVfbwdcaUw1oLpdyGs1nQs= 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=Hvz9xrtwjsC7UFCAwcxbWiygLn6YfehGWmtU28YNCsI=; b=HotKJg9DpKJjExBfyqLPWC6JM1PWmNYbHvtEvgG17IGjoLRlDrU/x79iPFu0PXizW1 zFmv+PDOmF+/vW3/LWb+u35al7lu3LOV6HvoOdK2R3orlvkRGxu1RFl+VRXYmXyxDPW0 vSX5gbHSSNPo/h2/kidRFZ9IUyzXCqIxe8OugDimLa5k3G5wO8sODd+n3Tc4U7zIo9JT C4QM3DGa23Gs07v+ghThecgS8kpmZelGHmUcsjYKCXGJGeCx8XhhlMtIBjgGlvvDySsu rXc5/t+W7QSjC/vXOInyRrukONQCiQ6KQmclyyc/6kA+C8YNR+RkASmY7CGgJH8I5cKU iSFw== X-Gm-Message-State: AJaThX4Too3nl4zNGogaorwzs6DpwJpA3h4UXvd/6sLYvM3sMHST/KoO X7znASuePRAg18V/AvkFSFCX+y4hkyk= X-Received: by 10.25.21.154 with SMTP id 26mr3702100lfv.93.1511212914281; Mon, 20 Nov 2017 13:21:54 -0800 (PST) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id v63sm1645409lje.39.2017.11.20.13.21.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 13:21:52 -0800 (PST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 20 Nov 2017 23:21:34 +0200 Message-Id: <3d60c84deaa11826ff0bc7599aeb73cad54c4fbf.1511212753.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PULL 06/15] 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 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> Signed-off-by: Riku Voipio --- linux-user/syscall_defs.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.14.2 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