Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1111649imu; Fri, 9 Nov 2018 11:06:38 -0800 (PST) X-Google-Smtp-Source: AJdET5fTfEQxYZuNiqrd8V00gKAJbanWM+XPusan7RfeLmhbnhrLYdtn8IuB+cTiuuaJCG2XQ3Dt X-Received: by 2002:a63:5357:: with SMTP id t23-v6mr8644914pgl.40.1541790398524; Fri, 09 Nov 2018 11:06:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541790398; cv=none; d=google.com; s=arc-20160816; b=yEpPpTerEZXa84uJ6nnHeh0bXH0VDXsGNxekn7mtMMdIiS63LjU80OZDEU8y1+IxYf TFaap14R+oN8qYCRmleDBGXdGj5Joo/EUBU+7UVwNZMq5Ln5U0rGuwCOxE0GPmK59rwr q2VYgNDUh2te35V9rfyKuyrON039XGaxmMeBKz717EKYtm5rRTP9sIwytSltkPYHZmks gO1nIQqMohMyRph0urroAuytCnQwDUuqAq17R1VkKplOOEVQq3QUEJEnYoP4TwAsgHPm x4I93fSFBUp3BmYtBylGAdHckATD83EWtEMUaE4rwAkOHYU/VU/7CA3YplU7DZZjILrt I+yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from; bh=LkoA4IOnED43BopboQa9EUPUEzoTgxtOBd63uXy10IY=; b=XLXG55oMR5zKhA4rDQDxuyAABtbV6IozgYhEf27FMYTH/b8Xf9sUoytT5H64QDCbO1 yNVZnWFnRCCbJxpQaxuXdNRgmGNqITaiBqKqP0HQpGfLgj6qNP8C4RBV9Figf6lwckeh vU/rc7S9Qn6FUS2Ujxx27Yvbgr4fv1+mYQpfWRWPWHXuZn9toJTRqq1mm3xCae14SwiK 5THHPXir3sdbcZ6dOBIVK6F8o0yzeccJVPthJICkiyC+1K02qWMrVkYMs7Hy/SgO/M5b FwqLakts7ht41mU/HxCymOd/gU9kQiMi/il0WIpu7Zu9C3FA9DJ1ER9oAVj9rLI4K86O 4I4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si8315843plp.114.2018.11.09.11.06.01; Fri, 09 Nov 2018 11:06:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728861AbeKJEpX (ORCPT + 99 others); Fri, 9 Nov 2018 23:45:23 -0500 Received: from tartarus.angband.pl ([54.37.238.230]:51362 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728763AbeKJEpV (ORCPT ); Fri, 9 Nov 2018 23:45:21 -0500 Received: from 89-64-163-218.dynamic.chello.pl ([89.64.163.218] helo=barad-dur.angband.pl) by tartarus.angband.pl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLC3t-00052m-Rv; Fri, 09 Nov 2018 20:03:23 +0100 Received: from kholdan.angband.pl ([2001:470:64f4::5]) by barad-dur.angband.pl with smtp (Exim 4.89) (envelope-from ) id 1gLC3s-00059v-BH; Fri, 09 Nov 2018 20:03:21 +0100 Received: by kholdan.angband.pl (sSMTP sendmail emulation); Fri, 09 Nov 2018 20:03:20 +0100 From: Adam Borowski To: linux-kernel@vger.kernel.org, Nick Terrell , Russell King , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, Ralf Baechle , Paul Burton , James Hogan , linux-mips@linux-mips.org, Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Cc: Adam Borowski Date: Fri, 9 Nov 2018 20:02:53 +0100 Message-Id: <20181109190304.8573-6-kilobyte@angband.pl> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181109190304.8573-1-kilobyte@angband.pl> References: <20181109185953.xwyelyqnygbskkxk@angband.pl> <20181109190304.8573-1-kilobyte@angband.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 89.64.163.218 X-SA-Exim-Mail-From: kilobyte@angband.pl X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tartarus.angband.pl X-Spam-Level: X-Spam-Status: No, score=-2.9 required=8.0 tests=ALL_TRUSTED=-1,BAYES_00=-1.9, TVD_RCVD_IP=0.001 autolearn=ham autolearn_force=no languages= Subject: [PATCH 06/17] parisc: Remove support for BZIP2 and LZMA compressed kernel X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Made redundant by newer choices. Signed-off-by: Adam Borowski --- arch/parisc/Kconfig | 2 -- arch/parisc/boot/compressed/Makefile | 10 ++-------- arch/parisc/boot/compressed/misc.c | 8 -------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 92a339ee28b3..a9cca7d1a8d8 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -18,10 +18,8 @@ config PARISC select BUG select BUILDTIME_EXTABLE_SORT select HAVE_PERF_EVENTS - select HAVE_KERNEL_BZIP2 select HAVE_KERNEL_GZIP select HAVE_KERNEL_LZ4 - select HAVE_KERNEL_LZMA select HAVE_KERNEL_LZO select HAVE_KERNEL_XZ select GENERIC_ATOMIC64 if !64BIT diff --git a/arch/parisc/boot/compressed/Makefile b/arch/parisc/boot/compressed/Makefile index 777533cdea31..a05f36f9279b 100644 --- a/arch/parisc/boot/compressed/Makefile +++ b/arch/parisc/boot/compressed/Makefile @@ -8,8 +8,8 @@ KCOV_INSTRUMENT := n GCOV_PROFILE := n UBSAN_SANITIZE := n -targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 -targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4 +targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz +targets += vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4 targets += misc.o piggy.o sizes.h head.o real2.o firmware.o KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER @@ -60,20 +60,14 @@ $(obj)/vmlinux.bin: vmlinux vmlinux.bin.all-y := $(obj)/vmlinux.bin suffix-$(CONFIG_KERNEL_GZIP) := gz -suffix-$(CONFIG_KERNEL_BZIP2) := bz2 suffix-$(CONFIG_KERNEL_LZ4) := lz4 -suffix-$(CONFIG_KERNEL_LZMA) := lzma suffix-$(CONFIG_KERNEL_LZO) := lzo suffix-$(CONFIG_KERNEL_XZ) := xz $(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) $(call if_changed,gzip) -$(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) - $(call if_changed,bzip2) $(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) $(call if_changed,lz4) -$(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) - $(call if_changed,lzma) $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) $(call if_changed,lzo) $(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) diff --git a/arch/parisc/boot/compressed/misc.c b/arch/parisc/boot/compressed/misc.c index 2556bb181813..1ca59916071e 100644 --- a/arch/parisc/boot/compressed/misc.c +++ b/arch/parisc/boot/compressed/misc.c @@ -42,18 +42,10 @@ static unsigned long free_mem_end_ptr; #include "../../../../lib/decompress_inflate.c" #endif -#ifdef CONFIG_KERNEL_BZIP2 -#include "../../../../lib/decompress_bunzip2.c" -#endif - #ifdef CONFIG_KERNEL_LZ4 #include "../../../../lib/decompress_unlz4.c" #endif -#ifdef CONFIG_KERNEL_LZMA -#include "../../../../lib/decompress_unlzma.c" -#endif - #ifdef CONFIG_KERNEL_LZO #include "../../../../lib/decompress_unlzo.c" #endif -- 2.19.1