From patchwork Wed May 2 08:37:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 907371 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40bWrp1tgXz9s1d for ; Wed, 2 May 2018 18:38:34 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="M+GfuEN+"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40bWrp07znzF2Sm for ; Wed, 2 May 2018 18:38:34 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="M+GfuEN+"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="M+GfuEN+"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40bWrR0Q1JzF2Sb for ; Wed, 2 May 2018 18:38:14 +1000 (AEST) Received: by mail-pg0-x243.google.com with SMTP id l2-v6so10103992pgc.7 for ; Wed, 02 May 2018 01:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=gLTRx8asHIqDJ1PmYfQx7SVuKC0BO+FoGC5zlV4VQOA=; b=M+GfuEN+0V1+rCkbmhXKHRzTQr6t/WJgbh/p8gJXSs8buyYtPf4tlHxWxDHqAbyaEh XlvPYZk2nHMex74Gul/lr8lch1WETRURPTwbwJkYN/S/aEVFdYJpyZz3NWMohujrLNuR l65D6ULdKKrDP9u8t3d52+8HsvW/bD8YeC6iJeZMlLU0EUp99DuSg+jcffa5gbOLVE0m Up40gEhHJoGo8TO1QKKS1d2T8tRi4Lw4NfP/57t2ZTsAOHKrSXyAKM2tpODdwT7Ry7/S hbSW/AZrqejlxR1Jhct3JF8JpMCSsRdtpb9+MjqHKu9gRiryAxjfOCVdr1V4VanHoH8v 9uOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=gLTRx8asHIqDJ1PmYfQx7SVuKC0BO+FoGC5zlV4VQOA=; b=PipzxHt2TFWuucy3gD1yq36mX/PIRX8QkHyo0BYd+lcfDlTjlmX8Zs9JQeb7IQghc/ 5xb4vAddXEIbsr3DeLXJUaBVSaz2EdOBurC+Uvu4iyA+HkrkZ8N8a47lHh03tYIemF1T izcvVEohmSLqOLdcqU44mZwBGFRkE+silx+1TH6K2yUqh+2iXdjo2uL4c5afMETIPHh+ ztov0XOYilNGzjqJyf1DsRoV6n//8H49MGbonbXXa7Rt9CFQbTusrWL4N4cV7wQNxk7K ep4i0FSx00JaW27J8mJkguS7+DgT+1KgSzmwMlHC30SjeYsw+ETb/itRQZ5L51644AEY mWPA== X-Gm-Message-State: ALQs6tAxL8Q+Ywkcrspf0ZOC3YFJrn+XIscl+n0TH+WbReLpGkuigmux DcyRvGVFSZYRKhdSmq6TOF9M5yq6 X-Google-Smtp-Source: AB8JxZrHHzUBeVKt852qqHauIWyTmH1XGGGP94r9lZmMv184sZzwXUAR+eFifrYFvdqnXM1jPCDFNg== X-Received: by 10.98.201.135 with SMTP id l7mr18174011pfk.221.1525250292570; Wed, 02 May 2018 01:38:12 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id e190sm21322998pfe.171.2018.05.02.01.38.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 01:38:11 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 02 May 2018 18:08:06 +0930 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Wed, 2 May 2018 18:07:41 +0930 Message-Id: <20180502083753.25090-2-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180502083753.25090-1-joel@jms.id.au> References: <20180502083753.25090-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 01/13] asm: Fix up assembly for clang X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" asm/head.S:766:17: error: unknown operand or %r0,%r4,%r5, ^ asm/head.S:800:17: error: unknown operand or %r0,%r4,%r5, ^ Signed-off-by: Joel Stanley Signed-off-by: Joel Stanley Acked-by: Balbir Singh --- asm/head.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asm/head.S b/asm/head.S index 2cf4a6b28310..803fbf1a61ee 100644 --- a/asm/head.S +++ b/asm/head.S @@ -763,7 +763,7 @@ init_shared_sprs: li %r0,1 sldi %r4,%r0,(63-13) sldi %r5,%r0,(63-19) - or %r0,%r4,%r5, + or %r0,%r4,%r5 andc %r3,%r3,%r0 sync mtspr SPR_HID0,%r3 @@ -797,7 +797,7 @@ init_shared_sprs: li %r0,1 sldi %r4,%r0,(63-5) sldi %r5,%r0,(63-4) - or %r0,%r4,%r5, + or %r0,%r4,%r5 andc %r3,%r3,%r0 sync mtspr SPR_HID0,%r3