From patchwork Tue Dec 6 17:06:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 9462943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3D61660231 for ; Tue, 6 Dec 2016 17:10:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 256BB28480 for ; Tue, 6 Dec 2016 17:10:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19DAE28487; Tue, 6 Dec 2016 17:10:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AE6C728480 for ; Tue, 6 Dec 2016 17:10:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEJEa-0005iU-B3; Tue, 06 Dec 2016 17:08:52 +0000 Received: from mail-wm0-f68.google.com ([74.125.82.68]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEJCn-00046m-0O for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 17:07:09 +0000 Received: by mail-wm0-f68.google.com with SMTP id u144so22637926wmu.0 for ; Tue, 06 Dec 2016 09:06:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=e8ASJd42dKGheT4vE5Wo/lm5IXZ69dckiYUmGG3noV4=; b=bt+GSbACBpFfAXfRqzpiJ7YDVwQC5BhOpXnj17vDPgO1zWy6Q3IQ3bpSNY7fcvjWsR wqUBiH/XOLRDfJ9/vp+Eo8FdBQUw9HDlIm0sJQOAHWfHKyVliyzIbjDGL7XWvKMMMr0X zGnXXmRZd0Iv69ZJVXfIZ9lZQDZWr11vAUy8V3+KYk+JN7ig5TzJeFGOiYZDGfaEPDIG udUucIHWKXYhNPHfksBVOlF31+fEzhfERK4e0ZNZveyg6arRYpDCTnh5nxdyZSlmTYNM r6YVcWd/EnJBPCr1tTIz391x6L01yW/Yh5Tr3iIamfzOcMhcZ/HZShlkJbX+Rye8V6pi C+Nw== X-Gm-Message-State: AKaTC029iTKmyBocMbzyyiGyfWT3NgWXVelEsKipnwniU2+Y6Wn6TABYLnaWUOg3Pf/Z9A== X-Received: by 10.28.31.65 with SMTP id f62mr3837018wmf.108.1481043990001; Tue, 06 Dec 2016 09:06:30 -0800 (PST) Received: from gce.c.kernel-work.internal (115.57.155.104.bc.googleusercontent.com. [104.155.57.115]) by smtp.gmail.com with ESMTPSA id l67sm4942458wmf.20.2016.12.06.09.06.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Dec 2016 09:06:28 -0800 (PST) From: Abel Vesa To: linux@armlinux.org.uk, jpoimboe@redhat.com, jeyu@redhat.com, jikos@kernel.org, mbenes@suse.cz, pmladek@suse.com Subject: [PATCH 6/7] arm: Add livepatch to build if CONFIG_LIVEPATCH Date: Tue, 6 Dec 2016 17:06:06 +0000 Message-Id: <1481043967-15602-7-git-send-email-abelvesa@linux.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481043967-15602-1-git-send-email-abelvesa@linux.com> References: <1481043967-15602-1-git-send-email-abelvesa@linux.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161206_090701_641038_5C5F3E5D X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, geert+renesas@glider.be, ard.biesheuvel@linaro.org, jean-philippe.brucker@arm.com, gregkh@linuxfoundation.org, stefano.stabellini@eu.citrix.com, emil.l.velikov@gmail.com, linux-kernel@vger.kernel.org, rostedt@goodmis.org, jens.wiklander@linaro.org, Abel Vesa , chris.brandt@renesas.com, mingo@redhat.com, viro@zeniv.linux.org.uk, live-patching@vger.kernel.org, akpm@linux-foundation.org, mchehab@kernel.org, davem@davemloft.net, linux@roeck-us.net MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Necessary livepatch file added to makefile. Signed-off-by: Abel Vesa --- arch/arm/kernel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index ad325a8..9e70220 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile @@ -48,6 +48,7 @@ obj-$(CONFIG_HAVE_ARM_TWD) += smp_twd.o obj-$(CONFIG_ARM_ARCH_TIMER) += arch_timer.o obj-$(CONFIG_FUNCTION_TRACER) += entry-ftrace.o obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o insn.o +obj-$(CONFIG_LIVEPATCH) += livepatch.o obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o insn.o obj-$(CONFIG_JUMP_LABEL) += jump_label.o insn.o patch.o obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o