From patchwork Fri Feb 7 10:18:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 24290 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 67B502096A for ; Fri, 7 Feb 2014 10:20:18 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g12sf14478480oah.6 for ; Fri, 07 Feb 2014 02:20:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=9rxkeOcnDhzajukw3k0Up3yxQdHvp10krcPOkGxiNqM=; b=i9NgfpxQrXgLyzn1mXM5YwuO8dXBSVSb8kCa/ElPdWJ8jx8CPCjjc8zVoSGMaBQ7P6 U8HRAf65upRhRjlu80a5KYerr4RSEMYLB6ZdRovZGf1nCVP3y1CVVwlcVmHWqPMmTIHC pJSEcU6r1vPdA5wl2vqqrC+gY6V8daFtCoEmEToU/0u+OoF6dDeqiz+dv0TlXtyaOqTQ HtfLRvOroq/GJi5aipHLg4bCA918i93FIXJbP3e8rxGHoxS7WvfhzfwjDi9tWpXN9UZt OZ7YKMjQDvgfPj22v8MAIXtLWEwq7+KAx25QYrPleShXeRW85VYvkFyKguDwUKIC7mKM wv9Q== X-Gm-Message-State: ALoCoQlLlmxCOzb40+P60bnhkJU2q4AMXGmihlEgbCvZntrzEg/clIyYxO7oS5bMP2S4fo+cN1iM X-Received: by 10.50.41.101 with SMTP id e5mr1927051igl.0.1391768417258; Fri, 07 Feb 2014 02:20:17 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.98 with SMTP id b89ls961736qgd.9.gmail; Fri, 07 Feb 2014 02:20:17 -0800 (PST) X-Received: by 10.52.104.68 with SMTP id gc4mr8087750vdb.2.1391768417181; Fri, 07 Feb 2014 02:20:17 -0800 (PST) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx.google.com with ESMTPS id s10si1171219vco.56.2014.02.07.02.20.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 02:20:17 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.46 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.46; Received: by mail-vb0-f46.google.com with SMTP id o19so2421523vbm.19 for ; Fri, 07 Feb 2014 02:20:17 -0800 (PST) X-Received: by 10.52.247.231 with SMTP id yh7mr4354746vdc.34.1391768417116; Fri, 07 Feb 2014 02:20:17 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp91643vcz; Fri, 7 Feb 2014 02:20:16 -0800 (PST) X-Received: by 10.68.196.226 with SMTP id ip2mr18516339pbc.106.1391768415909; Fri, 07 Feb 2014 02:20:15 -0800 (PST) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by mx.google.com with ESMTPS id l8si4464731pao.268.2014.02.07.02.20.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 02:20:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of takahiro.akashi@linaro.org) client-ip=209.85.220.42; Received: by mail-pa0-f42.google.com with SMTP id kl14so3002884pab.15 for ; Fri, 07 Feb 2014 02:20:15 -0800 (PST) X-Received: by 10.68.197.66 with SMTP id is2mr18663545pbc.96.1391768415460; Fri, 07 Feb 2014 02:20:15 -0800 (PST) Received: from localhost.localdomain (KD182249085115.au-net.ne.jp. [182.249.85.115]) by mx.google.com with ESMTPSA id e6sm12093179pbg.4.2014.02.07.02.20.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 02:20:14 -0800 (PST) From: AKASHI Takahiro To: rostedt@goodmis.org, fweisbec@gmail.com, mingo@redhat.com, catalin.marinas@arm.com, will.deacon@arm.com, gkulkarni@caviumnetworks.com, tim.bird@sonymobile.com Cc: arndb@arndb.de, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, patches@linaro.org, AKASHI Takahiro Subject: [PATCH v3 6/6] arm64: Add 'notrace' attribute to unwind_frame() for ftrace Date: Fri, 7 Feb 2014 19:18:56 +0900 Message-Id: <1391768336-5642-7-git-send-email-takahiro.akashi@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1391768336-5642-1-git-send-email-takahiro.akashi@linaro.org> References: <1382598488-13511-1-git-send-email-takahiro.akashi@linaro.org> <1391768336-5642-1-git-send-email-takahiro.akashi@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: takahiro.akashi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.46 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , walk_stackframe() calls unwind_frame(), and if walk_stackframe() is "notrace", unwind_frame() should be also "notrace". Signed-off-by: AKASHI Takahiro --- arch/arm64/kernel/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c index c3b6c63..54122c4 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;