From patchwork Tue Jun 13 17:33:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dustin Brown X-Patchwork-Id: 9784447 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 87FA8602DC for ; Tue, 13 Jun 2017 17:34:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C573284ED for ; Tue, 13 Jun 2017 17:34:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60D7728705; Tue, 13 Jun 2017 17:34:07 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 F361D284ED for ; Tue, 13 Jun 2017 17:34:06 +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:References: In-Reply-To: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:List-Owner; bh=MATQW7JV/ryA/MlA1Zlkuer5jvtdh1mJ7IFGj+9n63s=; b=XytTXkhb79BgVVbaLF6FfZBD2w xGbk5+NUL55dK05Ny5IrpKv76uW4Fgm4nN0dXYN4dJWdqgQm3zNKCPg6uJ7w5Uy861Ie2c3fPmjpP kDfNrhQGtcf6Hb6B96melhCL88fl4hiXHDKosV5ZDWSmXw+ssV0eeoFJlyLJFgRmF1WteYxgW42um XB/VxhCyed3XzztcoZn4aOZ7XE1JaCF1CydZvFEsRGrLvDFB9svca7J8tKfCFl1dYGVPmtSqENiec XVKtX7QWs747Pc92bVHkZnJf9veboJXE0heW/iMZ1YxEYE7QpGis7CEUPWCowSTdNp1U26oRS5YY/ 1ZjX/ayw==; 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 1dKphb-0007lI-M1; Tue, 13 Jun 2017 17:34:03 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dKphP-0007Ua-IZ for linux-arm-kernel@lists.infradead.org; Tue, 13 Jun 2017 17:33:53 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EE507607C4; Tue, 13 Jun 2017 17:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1497375211; bh=ynjs7+1QUHBPquBOM/8QPuC/JeNUC5o6t9m/6luVjZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TTMz8iN11GZ5Cfw9ocx/tFt06SBcWfp4vcDf73GLIijUmjNTJaaEGU3UwYmGc2YuB NNpSbW2X7tRGqdw4FckL07GbPiswNtJtfBVGltcb1Wc+ABQhvnSwloz4wnDxapd3E+ Cx+VmHFB9/mwDmHNmdK831W43E8ZMKF0nZTlmipc= Received: from dustinb-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dustinb@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8C4326022C; Tue, 13 Jun 2017 17:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1497375211; bh=ynjs7+1QUHBPquBOM/8QPuC/JeNUC5o6t9m/6luVjZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TTMz8iN11GZ5Cfw9ocx/tFt06SBcWfp4vcDf73GLIijUmjNTJaaEGU3UwYmGc2YuB NNpSbW2X7tRGqdw4FckL07GbPiswNtJtfBVGltcb1Wc+ABQhvnSwloz4wnDxapd3E+ Cx+VmHFB9/mwDmHNmdK831W43E8ZMKF0nZTlmipc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8C4326022C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=dustinb@codeaurora.org From: Dustin Brown To: linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm64: Export save_stack_trace_tsk() Date: Tue, 13 Jun 2017 10:33:08 -0700 Message-Id: <20170613173308.6653-2-dustinb@codeaurora.org> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170613173308.6653-1-dustinb@codeaurora.org> References: <20170613085029.GA5374@arm.com> <20170613173308.6653-1-dustinb@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170613_103351_771020_B6A4B6A4 X-CRM114-Status: UNSURE ( 8.66 ) 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: Dustin Brown 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 To aid in debugging driver modules, export save_stack_trace_tsk() for the ARM64 architecture. --- arch/arm64/kernel/stacktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c index feac80c22f61..09d37d66b630 100644 --- a/arch/arm64/kernel/stacktrace.c +++ b/arch/arm64/kernel/stacktrace.c @@ -210,6 +210,7 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) put_task_stack(tsk); } +EXPORT_SYMBOL_GPL(save_stack_trace_tsk); void save_stack_trace(struct stack_trace *trace) {