From patchwork Thu Oct 24 07:08:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 21243 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C032120F5A for ; Thu, 24 Oct 2013 07:09:43 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id aq17sf5705017iec.11 for ; Thu, 24 Oct 2013 00:09:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state: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=Tv9UbbYCpNIZSiKgAh/QnqyAPKhCKsMZahGYSpj4a6U=; b=RCiZfGNWOMVQHai0lFgZuiFybhRPVVZxRXhD9wCoSFIe50FL715/L6ROYUGaz2ceGs dmHbuzQBh2+lqb2qP2rOcsJSm2i8X99NOreNdLsaxdD0e9itY+x9xD6vXqV3pbz20oui WgkJUb07VU0o3DW4iZuj2C30dSGtHC4msYnoaj5On8grV5uZOUX9eQCkvDelHJeKxAJz 81d/VVlUAN6WbY/YNhp9YML1wuQdbxMDB1EMCMW54lD4R4eBdwFMwH3nM87b6hPXL38b L9KzH2CQuyQSLmL+ZwXvZ9438hdN6yctiVd1aszo/opZB7HIwS7dsoVntVpa3Oa8IrCe 3J1g== X-Received: by 10.43.114.67 with SMTP id ez3mr426940icc.6.1382598583365; Thu, 24 Oct 2013 00:09:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.64.38 with SMTP id l6ls740066qes.89.gmail; Thu, 24 Oct 2013 00:09:43 -0700 (PDT) X-Received: by 10.52.170.232 with SMTP id ap8mr402122vdc.40.1382598583233; Thu, 24 Oct 2013 00:09:43 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id 10si40068vcs.30.2013.10.24.00.09.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Oct 2013 00:09:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id pa12so672283veb.2 for ; Thu, 24 Oct 2013 00:09:43 -0700 (PDT) X-Gm-Message-State: ALoCoQnRg4WzGLhHwmTOxPMm/lDfeqAvTSmj+XNEA1yxtFQiMU54znCHaGf9Fnj68jkiCVp/HsqI X-Received: by 10.52.76.36 with SMTP id h4mr382489vdw.46.1382598583144; Thu, 24 Oct 2013 00:09:43 -0700 (PDT) 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 u4csp368374vcz; Thu, 24 Oct 2013 00:09:42 -0700 (PDT) X-Received: by 10.68.164.165 with SMTP id yr5mr1385164pbb.146.1382598582327; Thu, 24 Oct 2013 00:09:42 -0700 (PDT) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id iu9si1073095pac.147.2013.10.24.00.09.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Oct 2013 00:09:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.51 is neither permitted nor denied by best guess record for domain of takahiro.akashi@linaro.org) client-ip=209.85.220.51; Received: by mail-pa0-f51.google.com with SMTP id ld10so2085531pab.10 for ; Thu, 24 Oct 2013 00:09:41 -0700 (PDT) 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 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Oct 2013 00:09:40 -0700 (PDT) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, linux-arm-kernel@lists.infradead.org, gkulkarni@caviumnetworks.com, AKASHI Takahiro 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-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.128.171 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 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;