From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-x244.google.com (mail-ua0-x244.google.com [IPv6:2607:f8b0:400c:c08::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3ynb8K64WbzDrbJ for ; Thu, 30 Nov 2017 22:41:21 +1100 (AEDT) Received: by mail-ua0-x244.google.com with SMTP id p33so5510915uag.9 for ; Thu, 30 Nov 2017 03:41:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <8703033cf68861aba6424b8c13694e9823f50f98.1511506950.git.christophe.leroy@c-s.fr> References: <8703033cf68861aba6424b8c13694e9823f50f98.1511506950.git.christophe.leroy@c-s.fr> From: Balbir Singh Date: Thu, 30 Nov 2017 22:41:18 +1100 Message-ID: Subject: Re: [PATCH 1/2] powerpc/lib/code-patching: refactor patch_instruction() To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood , "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Nov 24, 2017 at 6:31 PM, Christophe Leroy wrote: > patch_instruction() uses almost the same sequence as > __patch_instruction() > > This patch refactor it so that patch_instruction() uses > __patch_instruction() instead of duplicating code. > > Signed-off-by: Christophe Leroy > --- Acked-by: Balbir Singh