From patchwork Wed May 27 21:26:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 477408 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E143C14018C for ; Thu, 28 May 2015 07:26:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=q1xjLUQj; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=abzDWMsHRXM8dYPtONRXBwn/25ORUmde61Uer4r99Sv kU8SAFkttnffmMe8ZrK9+vdfwVRKvp1uYRnXKOA92QFOJuEsIr4YeNrAWF57qxTw 3ojEz+/4v9GQJpF63fwrsIHUipThYQmaBlSj43+wzMtPpgqTab/nBr6g4/Qz1pNU = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type; s=default; bh=iwkRonioCPwi9G9n3OvjLXNSJVs=; b=q1xjLUQjVFTQ5FfOC rw6V5fhWx4GD67yBfLSask3Nzr8USIQY+5zqFQjUP6v/kr66Aw9WBYtlx3/YKbud f/Sabn00L/m2hQtltrLXcGG2kCyDwB7Uj9Ia9CTNcylHe1ncWuD+bzNl55xqAwwt LW8deBkhkYfWqXJF4jr+aao764= Received: (qmail 111587 invoked by alias); 27 May 2015 21:26:15 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 111573 invoked by uid 89); 27 May 2015 21:26:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_05, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f45.google.com Received: from mail-oi0-f45.google.com (HELO mail-oi0-f45.google.com) (209.85.218.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 27 May 2015 21:26:13 +0000 Received: by oihb142 with SMTP id b142so17900153oih.3 for ; Wed, 27 May 2015 14:26:11 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.202.240.215 with SMTP id o206mr26429946oih.94.1432761971779; Wed, 27 May 2015 14:26:11 -0700 (PDT) Received: by 10.60.147.170 with HTTP; Wed, 27 May 2015 14:26:11 -0700 (PDT) Date: Wed, 27 May 2015 23:26:11 +0200 Message-ID: Subject: [PATCH 2/4, libitm, alpha]: Change gtm_futex_{wait,wake} to int From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Cc: Richard Henderson 2015-05-27 Uros Bizjak * config/linux/alpha/futex_bits.h (sys_futex0) Change operands "op" and "val" to int. Tested on alphaev68-linux-gnu. OK for mainline? Uros. Index: config/linux/alpha/futex_bits.h =================================================================== --- config/linux/alpha/futex_bits.h (revision 223771) +++ config/linux/alpha/futex_bits.h (working copy) @@ -29,7 +29,7 @@ #endif static inline long -sys_futex0 (std::atomic *addr, long op, long val) +sys_futex0 (std::atomic *addr, int op, int val) { register long sc_0 __asm__("$0"); register long sc_16 __asm__("$16");