From patchwork Tue Jun 13 17:33:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dustin Brown X-Patchwork-Id: 9784445 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 11BCF6038E for ; Tue, 13 Jun 2017 17:33:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9D69284ED for ; Tue, 13 Jun 2017 17:33:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE8B328705; Tue, 13 Jun 2017 17:33:51 +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 7652928676 for ; Tue, 13 Jun 2017 17:33:51 +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=Lyr+3mwrIBmE+okKpYrzwb3u042fcy0cce1MjkPEQrs=; b=VqbUKCJqBFpBO0wtnqmbMphCZz lEEaIMKXU2gebdElVZ+bmemwqrYejNtL3bxvdaf5fckZUBvKRSPIHVt15KwcBfd8gTogMGB9dXj2a Hh+ImUyaGHXtY+Zz1dFJ0WFuliXfxSgXvbl+3DKIqEu9EP5tSuEkz9j6lwsMJswrW/M0YjDKCP5FW 4DkTnsnBbcxTPUi1RVUf3tWJttPnAnHqtvW0QeLWX5/Fo2rBzRfw0Hj+WkaPMyoF4HyAtDXrBq5d2 aw5N8yDDe+LZWnKmii60n05+S3V4nF2n8Bhm16LG1y2n127rzWMNkGwUlInwXS7/m88fOjDplWEmd /DxMvbrA==; 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 1dKphO-0007Vn-Jz; Tue, 13 Jun 2017 17:33:50 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dKphK-0007U9-RA for linux-arm-kernel@lists.infradead.org; Tue, 13 Jun 2017 17:33:48 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1ECBC60234; Tue, 13 Jun 2017 17:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1497375206; bh=HGlcayvvId+w4CPHqpIMFlzsEdMLG4/zpZkXTLq5W0M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GLcotRa8khX6vvrSQA+m9OOYwxsTdrf2Fa6CClTf+SSeXkrSiHFZzfqNw0EV4z9Rr N3bwHR1pwveQW+6sKBHKtk4lFNljQywLYcUKrRHp7mQ1Pti+ygF91mUboGsLP/UOuS D6go90cjbgK23kvoYpMrUNzqBbaXWAwWKuc6ZZ+k= 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 7ECBB60234; Tue, 13 Jun 2017 17:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1497375205; bh=HGlcayvvId+w4CPHqpIMFlzsEdMLG4/zpZkXTLq5W0M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BeGGzUVP+rNFJXVTt+Hv7r8iL0Gaf8YoWxoAsCHPehZRAWIbQoss9Gl2QORNiHmWs CIcavRlJ8pcqaOHBCyGJYCH0E9J2s5+zOqERpuDV6bXjXDZo5VI1S8RRfmHJ84wIcn zOgmVuYWavcrYA0YhwdCile1DCnUbqvLzk2Blhjo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7ECBB60234 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 1/2] arm: Export save_stack_trace_tsk() Date: Tue, 13 Jun 2017 10:33:07 -0700 Message-Id: <20170613173308.6653-1-dustinb@codeaurora.org> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170613085029.GA5374@arm.com> References: <20170613085029.GA5374@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170613_103346_907121_E3355164 X-CRM114-Status: UNSURE ( 8.85 ) 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 ARM architecture. --- arch/arm/kernel/stacktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/stacktrace.c b/arch/arm/kernel/stacktrace.c index 3a2fa203637a..564bb468b7ba 100644 --- a/arch/arm/kernel/stacktrace.c +++ b/arch/arm/kernel/stacktrace.c @@ -171,6 +171,7 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) { __save_stack_trace(tsk, trace, 1); } +EXPORT_SYMBOL_GPL(save_stack_trace_tsk); void save_stack_trace(struct stack_trace *trace) {