From patchwork Wed Jun 11 20:14:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Salter X-Patchwork-Id: 31798 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F286203C2 for ; Wed, 11 Jun 2014 20:15:39 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id el20sf170638lab.1 for ; Wed, 11 Jun 2014 13:15:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=9SKsFmsm4dtOEnbWlU6HbyzytWlC8j/ashto5voeIuA=; b=LJfUjtySeMCqHq6i7tvKFt+LA/81LSdwPzsnv7xVDX1A7+Q2qyNxbkdEBLg0Fq27BK Nl1JxsMIHnV67xXoMo1EkTH/S9ZwbD58cl59rFIeY8mL9U4APuq7qGTB7fZoAj4DCQhW 2rGdzMXg2lfj8wrThJ31jBu9oGLA8xTEAYkfuaiminP57hfaRQ/oTKgZVCaGbc2NzBHH NuSGF6A9qE3nQ8ZRJ2xPMZKPygQH//6Vx/zyx7XrixPem3fdhFxP2dVANR8wJ0lI0J4j m3fBYFBzvCCLqk4C7TpLQITRKoqeA8E99X0fXnIUM2ylXS8mC5uQl8kEYYkQdS2jrZsr mllw== X-Gm-Message-State: ALoCoQnFn62x7xsdpuQrrJIoT+qggEQS/KA1Ddal2X9Obcf3RxOqd0xhTWA+sBlcIRpad9iojO+m X-Received: by 10.152.203.226 with SMTP id kt2mr5108161lac.2.1402517738556; Wed, 11 Jun 2014 13:15:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.14 with SMTP id o14ls2701180qgo.63.gmail; Wed, 11 Jun 2014 13:15:38 -0700 (PDT) X-Received: by 10.58.196.231 with SMTP id ip7mr3529883vec.47.1402517738392; Wed, 11 Jun 2014 13:15:38 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id mg9si13308603vcb.58.2014.06.11.13.15.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 13:15:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id oz11so592972veb.29 for ; Wed, 11 Jun 2014 13:15:38 -0700 (PDT) X-Received: by 10.52.163.161 with SMTP id yj1mr3955204vdb.35.1402517738291; Wed, 11 Jun 2014 13:15:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp334500vcb; Wed, 11 Jun 2014 13:15:37 -0700 (PDT) X-Received: by 10.66.159.34 with SMTP id wz2mr15919740pab.96.1402517737549; Wed, 11 Jun 2014 13:15:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bm3si39170261pbc.86.2014.06.11.13.15.36; Wed, 11 Jun 2014 13:15:36 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073AbaFKUPS (ORCPT + 27 others); Wed, 11 Jun 2014 16:15:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4614 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbaFKUPQ (ORCPT ); Wed, 11 Jun 2014 16:15:16 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5BKEnFR019287 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Jun 2014 16:14:49 -0400 Received: from deneb.redhat.com (ovpn-113-156.phx2.redhat.com [10.3.113.156]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5BKEnfL016696; Wed, 11 Jun 2014 16:14:49 -0400 From: Mark Salter To: Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Salter Subject: [PATCH] arm64: fix build error in sigcontext.h Date: Wed, 11 Jun 2014 16:14:42 -0400 Message-Id: <1402517682-13061-1-git-send-email-msalter@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: msalter@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , I'm seeing this build failure for arm64: CC [M] Documentation/filesystems/configfs/configfs_example_macros.o In file included from /usr/include/bits/sigcontext.h:27:0, from /usr/include/signal.h:340, from /usr/include/sys/wait.h:30, from Documentation/accounting/getdelays.c:24: .../linux/usr/include/asm/sigcontext.h:61:2: error: unknown type name ‘u64’ u64 esr; ^ make[2]: *** [Documentation/accounting/getdelays] Error 1 This was introduced by commit 15af1942dd61ee23: arm64: Expose ESR_EL1 information to user when SIGSEGV/SIGBUS Using __u64 instead of u64 fixes the problem. Signed-off-by: Mark Salter --- arch/arm64/include/uapi/asm/sigcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/uapi/asm/sigcontext.h b/arch/arm64/include/uapi/asm/sigcontext.h index b72cf40..ee469be 100644 --- a/arch/arm64/include/uapi/asm/sigcontext.h +++ b/arch/arm64/include/uapi/asm/sigcontext.h @@ -58,7 +58,7 @@ struct fpsimd_context { struct esr_context { struct _aarch64_ctx head; - u64 esr; + __u64 esr; }; #endif /* _UAPI__ASM_SIGCONTEXT_H */