Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760116AbbLCMmP (ORCPT ); Thu, 3 Dec 2015 07:42:15 -0500 Received: from smtprelay.synopsys.com ([198.182.60.111]:47632 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760078AbbLCMmL (ORCPT ); Thu, 3 Dec 2015 07:42:11 -0500 From: Vineet Gupta To: CC: , , , Vineet Gupta Subject: [PATCH 06/17] ARC: dw2 unwind: Don't verify Main FDE Table size everytime Date: Thu, 3 Dec 2015 18:11:04 +0530 Message-ID: <1449146475-15335-7-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449146475-15335-1-git-send-email-vgupta@synopsys.com> References: <1449146475-15335-1-git-send-email-vgupta@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.12.197.182] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 878 Lines: 29 This is already done at boot time in setup_unwind_table() Signed-off-by: Vineet Gupta --- arch/arc/kernel/unwind.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index 2bb3c1c048bb..f57a0d50185c 100644 --- a/arch/arc/kernel/unwind.c +++ b/arch/arc/kernel/unwind.c @@ -892,8 +892,7 @@ int arc_unwind(struct unwind_frame_info *frame) #endif table = find_table(pc); - if (table != NULL - && !(table->size & (sizeof(*fde) - 1))) { + if (table != NULL) { const u8 *hdr = table->header; unsigned long tableSize; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/