From patchwork Tue Sep 19 11:50:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Liu X-Patchwork-Id: 9958731 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 71BDF60208 for ; Tue, 19 Sep 2017 11:49:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F26328E3B for ; Tue, 19 Sep 2017 11:49:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 629D028E3E; Tue, 19 Sep 2017 11:49:02 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 004C828E3D for ; Tue, 19 Sep 2017 11:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=hnaMjqAyzfYbgr/y5r5FdvCqEXUex2AAimulLF5/+BY=; b=OMI BTnywZkpUI2HNeggHLgXavduFZ2NpWtYzYVfwCKtSOzXqsgINgV3ryZ6kSOwwsdx84HlzxAluEzwT XdP9Iwlz9WMydvDiG5sTZ0gbV25mQ7nhBcK6TPSJeYFUWFQTXIhoZvMmhiLSRdfK4zlj2yDHM8TX8 k0rAgfEdC7JKz3VTFCsYcvZzrzLh9yts13Y+xmHNOu9UMSgxxwpnHqocxlswIRV5apDfcffK+/ovn MPUFYjEMHB7NE+J7369OWTld6lCOYLfF/IxTt9Uia7dwf43HWZbXUvySC05ZVmir9KwU7rPW613wV 0nBBVgAFbd5F/W9BWXUHs8bSxSRiQYg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duH1L-0001vm-Cn; Tue, 19 Sep 2017 11:48:55 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1duH1H-0001qF-Gv for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2017 11:48:53 +0000 Received: by mail-pf0-x242.google.com with SMTP id i23so1417340pfi.2 for ; Tue, 19 Sep 2017 04:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=E3ZsK990lXhRyl8KoVzHZVSM/G4orxm2uHSyy6a5lGA=; b=alA1dkTQo8C/qD8vwHoRiVSIJG1XYt45G92PYkWrnhL1m0ovzViI7FiRX1kBo+douI 3FHsXdT/MsU8M/8FJgi3XyRHEWfBrzi2qy8m/PjJnGm4aiGunTWm+MG1/d1LxQvNhJmM rRkRMV+MkgUVbLCFSbzJUnhZbW4mWqVCutTXHpUUyawSpD4idLBGVbZccFkp2gwo6jL5 HCNQeLfwvMZm+bwSnFOh2cX4AVzczX5XCZiN4WpNXWLbkC5oyleRF3F29FeXU6sA+zyw kchGII7N/N2nqDf2qK7xG4NdaRj5EQPYfAuMJKWISGMe6XKoWSa3g5lbp9POcH6AoPUq 6L5w== 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; bh=E3ZsK990lXhRyl8KoVzHZVSM/G4orxm2uHSyy6a5lGA=; b=iWtBgoEpjSYI4FWCg4dIXOJpvJqearzMAsn9+UJkBdn+furgLhtOP5k7jO836VPOiw t6BDzOifhV1a+nfjHtAXDLPomOc7n4HObxKilnnn7gJXMRov+9SFz+Avo/XMcQ+niFz7 TGvmXdiX3gEIW5iWt1M6+d/VHY9nocdOufDxVohI4wTRFz1BrRZdJde0nV5toWK83UPs R1iO+/Rjy9lD7E5R/DWAnpYxb6J9l/JI2UIXUHjK5EFA+MHc84HjGz7rH78EBS0W3ZTs vczsmVayRbt4b7W68PJHdsvqApyfmqeTJ55wtyc52EakpDSmA+JdEGEjk9QUS6gATXwW +xrA== X-Gm-Message-State: AHPjjUip8uIGiUpFMaD+ZK2mse7Jo5VNwBJuLBSermrBC39As1NyAiGY nz7F/7GYv18uWyRKuP+4FGo= X-Google-Smtp-Source: AOwi7QDVTXGGxnTzPWcPEvljCdH4cs/2g8xYR2b++/Wakgk87De0DQGbjQI3saPvs5fqUDgacqRJ1g== X-Received: by 10.84.137.169 with SMTP id 38mr1070335pln.429.1505821709962; Tue, 19 Sep 2017 04:48:29 -0700 (PDT) Received: from 60-242-179-244.static.tpgi.com.au (60-242-179-244.static.tpgi.com.au. [60.242.179.244]) by smtp.gmail.com with ESMTPSA id d4sm3054697pfb.185.2017.09.19.04.48.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Sep 2017 04:48:28 -0700 (PDT) From: Jonathan Liu To: Russell King , Thomas Garnier , Thomas Gleixner Subject: [PATCH] ARM: uaccess: Add missing include for set_thread_flag Date: Tue, 19 Sep 2017 21:50:42 +1000 Message-Id: <20170919115042.6800-1-net147@gmail.com> X-Mailer: git-send-email 2.13.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170919_044851_617234_A6AB472A X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jonathan Liu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes "implicit declaration of function" compile error for out-of-tree kernel modules including asm/uaccess.h. Fixes: 73ac5d6a2b6a ("arm/syscalls: Check address limit on user-mode return") Signed-off-by: Jonathan Liu --- arch/arm/include/asm/uaccess.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h index 87936dd5d151..13d1877ffb75 100644 --- a/arch/arm/include/asm/uaccess.h +++ b/arch/arm/include/asm/uaccess.h @@ -17,6 +17,7 @@ #include #include +#include #include /*