Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964963AbbLCMms (ORCPT ); Thu, 3 Dec 2015 07:42:48 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:47440 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964904AbbLCMmp (ORCPT ); Thu, 3 Dec 2015 07:42:45 -0500 From: Vineet Gupta To: CC: , , , Vineet Gupta Subject: [PATCH 14/17] ARC: dw2 unwind: No need for __get_user Date: Thu, 3 Dec 2015 18:11:12 +0530 Message-ID: <1449146475-15335-15-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: 888 Lines: 26 Signed-off-by: Vineet Gupta --- arch/arc/kernel/unwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index b2053b55d076..4f739716f908 100644 --- a/arch/arc/kernel/unwind.c +++ b/arch/arc/kernel/unwind.c @@ -1056,7 +1056,7 @@ int arc_unwind(struct unwind_frame_info *frame) || addr + sizeof(unsigned long) > endLoc) return -EIO; - __get_user(FRAME_REG(i, unsigned long), (unsigned long __user *)addr); + FRAME_REG(i, unsigned long) = *(unsigned long *)addr; break; } unw_debug("r%d: 0x%lx\n", i, *fptr); -- 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/