Message ID | 1382598488-13511-7-git-send-email-takahiro.akashi@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8059EBF924 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Oct 2013 07:12:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B35320398 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Oct 2013 07:12:02 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0B49120397 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Oct 2013 07:12:01 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VZF4K-0001i2-8F; Thu, 24 Oct 2013 07:10:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VZF43-0007HP-Qf; Thu, 24 Oct 2013 07:10:39 +0000 Received: from mail-pb0-f53.google.com ([209.85.160.53]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VZF3T-0007Aw-95 for linux-arm-kernel@lists.infradead.org; Thu, 24 Oct 2013 07:10:13 +0000 Received: by mail-pb0-f53.google.com with SMTP id up7so1772635pbc.12 for <linux-arm-kernel@lists.infradead.org>; Thu, 24 Oct 2013 00:09:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Tv9UbbYCpNIZSiKgAh/QnqyAPKhCKsMZahGYSpj4a6U=; b=UnM58rX48yi2Jti3G6upq+cXuYUhssb+ThW/JC+cGZTQDmTaRUVWTy4XkpG/hAi6q3 X/cWx236L5eY/kL2v02alLyaVyVWNV7RyRiev1XhekcP2YSn7zPgzqQA/vuuwmaQ7kUj 1aVOkIMiN6Q9NitiWh0aPUcFn/n+m4GGltIdmxxSd19VYZg7Z1YEw15lqFAakAPIpYP5 7a+skHjxSxsX6SA9hJMsV8Vx0nFYikQfeLff9KE9bt7xfxOxT75YDgNzITCkCP0tRvp8 uh3QhUNH0Z9VXG0rmTZ/zLSCZaDaI0Cka0SfkkwLILbzHFIjdpZVsUCkZQLVD8/1jpwo Fl7g== X-Gm-Message-State: ALoCoQmvD2zor9q251ltEUq+iXkJwWlpfBVaX4U6gWDP1usSsfDO4r+jITxkGGEna3AQ2jSB4znm X-Received: by 10.68.130.234 with SMTP id oh10mr1460209pbb.0.1382598581738; Thu, 24 Oct 2013 00:09:41 -0700 (PDT) Received: from localhost.localdomain (KD182249089040.au-net.ne.jp. [182.249.89.40]) by mx.google.com with ESMTPSA id go4sm374799pbb.15.2013.10.24.00.09.38 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Oct 2013 00:09:40 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v2 6/6] arm64: Add 'notrace' attribute to unwind_frame() for ftrace Date: Thu, 24 Oct 2013 16:08:08 +0900 Message-Id: <1382598488-13511-7-git-send-email-takahiro.akashi@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1382598488-13511-1-git-send-email-takahiro.akashi@linaro.org> References: <1382598488-13511-1-git-send-email-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131024_031003_631697_6A40DE5E X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: gkulkarni@caviumnetworks.com, AKASHI Takahiro <takahiro.akashi@linaro.org>, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c index d25459f..03dd5a2 100644 --- a/arch/arm64/kernel/stacktrace.c +++ b/arch/arm64/kernel/stacktrace.c @@ -35,7 +35,7 @@ * ldp x29, x30, [sp] * add sp, sp, #0x10 */ -int unwind_frame(struct stackframe *frame) +int notrace unwind_frame(struct stackframe *frame) { unsigned long high, low; unsigned long fp = frame->fp;
walk_stackframe() calls unwind_frame(), and if walk_stackframe() is "notrace", unwind_frame() should be also "notrace". Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- arch/arm64/kernel/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)