From patchwork Fri May 9 11:57:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 29888 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13B7420534 for ; Fri, 9 May 2014 12:01:00 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id m1sf19516804oag.6 for ; Fri, 09 May 2014 05:01:00 -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:date:message-id:subject:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=fVEhs13BpV2/ACNRUTfml17fFXT3eVSxrL5YoWpTSAM=; b=RSH44rxeV9Gl6wCfCyORz62S7FaQoUVKJ6UKaXA0Zowxv6hUVWXq2j4dY3AYlSCTMq +UmIHo9nTgThghAzblGXzexfd/5ulls+mJPR75MdR/nzO43L7Pd0ZHgXuIHLE85QZcUL EHqUndkuWPLYlCcOHag0PPdYdgajl/dGxjAMfzFd26vAETQAxgHZH63UuKzX6vEUVZy6 3MQ/lEPgN6X+/qZ5Uoq2ml5tZMRW5JzaZ2qPyMTeVPGz13qbkRf/UvuWW85eZJIyYagX djeQe0TBD1v656T1GQfQMZXbDEc5M2694nfcIdNDvYs0YUzq7c89aIT9zUhqqk2Hk2RN EkHg== X-Gm-Message-State: ALoCoQkHT9RvWr+bPWn8oEQkowy6z3U+7Z/0urpouaBhkySh1t3C83vwD265fF2RXPVvhPTj8bee X-Received: by 10.50.2.65 with SMTP id 1mr2068716igs.1.1399636860366; Fri, 09 May 2014 05:01:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.180 with SMTP id w49ls294573qge.3.gmail; Fri, 09 May 2014 05:01:00 -0700 (PDT) X-Received: by 10.221.29.137 with SMTP id ry9mr8033804vcb.6.1399636860134; Fri, 09 May 2014 05:01:00 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id eb17si693490veb.22.2014.05.09.05.01.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 05:01:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hr9so5049575vcb.31 for ; Fri, 09 May 2014 05:01:00 -0700 (PDT) X-Received: by 10.52.38.5 with SMTP id c5mr88770vdk.85.1399636860007; Fri, 09 May 2014 05:01:00 -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.220.221.72 with SMTP id ib8csp73371vcb; Fri, 9 May 2014 05:00:59 -0700 (PDT) X-Received: by 10.140.101.99 with SMTP id t90mr13007044qge.115.1399636859619; Fri, 09 May 2014 05:00:59 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id c110si1947220qga.5.2014.05.09.05.00.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 May 2014 05:00:59 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WijSE-0002vK-Vx; Fri, 09 May 2014 11:59:07 +0000 Received: from mezzanine.sirena.org.uk ([2400:8900::f03c:91ff:fedb:4f4]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WijRb-0001yU-2C for linux-arm-kernel@lists.infradead.org; Fri, 09 May 2014 11:58:27 +0000 Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante.sirena.org.uk) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WijR1-000504-Lx; Fri, 09 May 2014 11:57:56 +0000 Received: from broonie by debutante.sirena.org.uk with local (Exim 4.82) (envelope-from ) id 1WijQx-00015A-6i; Fri, 09 May 2014 12:57:47 +0100 From: Mark Brown To: Catalin Marinas , Will Deacon Date: Fri, 9 May 2014 12:57:45 +0100 Message-Id: <1399636665-4127-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.0.0.rc2 X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] arm64: Define _TIF_POLLING_NRFLAG X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140509_045827_250863_2BA63F71 X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record Cc: Peter Zijlstra , linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, Mark Brown X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 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 From: Mark Brown arm64 defines TIF_POLLING_NRFLAG but not the corresponding shifted version, breaking the build with next-20140509 due to fd99f91aa007b (sched/idle: Avoid spurious wakeup IPIs) which added a reference to the shifted version which is present on most arches. Signed-off-by: Mark Brown Acked-by: Peter Zijlstra --- arch/arm64/include/asm/thread_info.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h index 720e70b66ffd..40ff87437734 100644 --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@ -113,6 +113,7 @@ static inline struct thread_info *current_thread_info(void) #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) #define _TIF_32BIT (1 << TIF_32BIT) +#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) #define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | \ _TIF_NOTIFY_RESUME)