From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751296AbdAPLbG (ORCPT ); Mon, 16 Jan 2017 06:31:06 -0500 Received: from mail.zhinst.com ([212.126.164.98]:33952 "EHLO mail.zhinst.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbdAPLbE (ORCPT ); Mon, 16 Jan 2017 06:31:04 -0500 From: Tobias Klauser To: linux-kernel@vger.kernel.org Cc: Andrew Morton , nios2-dev@lists.rocketboards.org, Ley Foon Tan Subject: [PATCH] scripts/checkstack.pl: Add support for nios2 Date: Mon, 16 Jan 2017 12:30:52 +0100 Message-Id: <20170116113052.15034-1-tklauser@distanz.ch> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adjust checkstack.pl for the nios2 architecture. Cc: Ley Foon Tan Signed-off-by: Tobias Klauser --- scripts/checkstack.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index dd8397894d5c..694a075381b0 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl @@ -78,6 +78,9 @@ my (@stack, $re, $dre, $x, $xs, $funcre); } elsif ($arch eq 'mips') { #88003254: 27bdffe0 addiu sp,sp,-32 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; + } elsif ($arch eq 'nios2') { + #25a8: defffb04 addi sp,sp,-20 + $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; } elsif ($arch eq 'parisc' || $arch eq 'parisc64') { $re = qr/.*ldo ($x{1,8})\(sp\),sp/o; } elsif ($arch eq 'ppc') { -- 2.11.0