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: 10067329 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E36526038F for ; Mon, 20 Nov 2017 21:28:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D629528BF2 for ; Mon, 20 Nov 2017 21:28:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAB1C290C5; Mon, 20 Nov 2017 21:28:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5D48C28BF2 for ; Mon, 20 Nov 2017 21:28:46 +0000 (UTC) Received: from localhost ([::1]:59826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGtcT-00019j-KV for patchwork-qemu-devel@patchwork.kernel.org; Mon, 20 Nov 2017 16:28:45 -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-Google-Smtp-Source: AGs4zMYZLEa/OwEpkDZTeqJxka5vkimzyhIFfJTY60ciSfky/f8Mnqiq77H0lDlplgkL9dt/0AaMFA== 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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