Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2763063ybh; Mon, 5 Aug 2019 06:28:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnuAbvkf2+0BCPHCdSCPSrZ8cpnhQLZKgELN53NzkEUb5KrNysYxii5oCnIDMHI3fir+G7 X-Received: by 2002:a62:2aca:: with SMTP id q193mr74642719pfq.209.1565011690473; Mon, 05 Aug 2019 06:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565011690; cv=none; d=google.com; s=arc-20160816; b=adKU7rU5IbMGj0lDp4o1P5Dowf2cg/ZhMeOjoeZ8xUVFtwUs+sXvv3n/MfCVCNk9Xw XR/SE/YzXONO8aQc+2UW8lY3jZroeWzcjf4p45nhzhZIRFcFkVvyT8LOKkOd3QDmQeZL xTaD0f0wA4agQt3/zwNnMS8/JDKhcAb8k9FMAMsbfALPQlrUeRp4ml59dmGFBnSBJlBS 8KUy9LEfOYuLZ5e/IZH8OwVE0mbUkLrsFokXkZLMxzHl+EvvpmmDaOy5YqJvPTS6g4Rg cZ9zhzDRyHoHZEzMCDUjITd4sqTMKr+bP/r5DGY8+ZouetzMsf9gEdNQxOL6wMxVYmlM vY2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uEGa9i1K+vsmtZCrMgGk8Lb3lW8OoU08ok7JAwoOWUE=; b=kOY12QQsx8XBcyf/7+mHigXptk0NGxA4T6dRerPITAPmOP4Anznyq9IHepjqyafM6D TPCAxJkbM0ms0OeGmo4fO+Yzh7wdFietKWXR4TfetigEZhRhggYjjoib+OxSyfCCBMTY jz63Tr0GL64YS5QueX4UtJjeA98iVqUstBKX8WYcqGRZ8TsDcDQruqJL3Q+NHX2mNx/w LPMeFNI+LNsDWLFL7sObNSxjptakIaJlcMto5Eb0bs3C4bAoH+SbulXYTkwLMeJTjw8H Mlgp+Cgd/nuT2WevoW9iLYsh+rXfOcRYzgylGEUyU/aAaruvzEqs2+mftRg2Tn1SxfnG I9SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f69h7D1F; 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 f12si13354695pgp.218.2019.08.05.06.27.54; Mon, 05 Aug 2019 06:28:10 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=f69h7D1F; 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 S1731365AbfHEN0E (ORCPT + 99 others); Mon, 5 Aug 2019 09:26:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:34550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731342AbfHEN0A (ORCPT ); Mon, 5 Aug 2019 09:26:00 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 30D9D20644; Mon, 5 Aug 2019 13:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565011559; bh=p9NISWgc3vG+Xuv8urSislGFgOzD+18Gd+8cTb9s/U8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f69h7D1FoABWwZMnCCz7GEKJf/hKErEbgtWQFYPAmUfDn5yxpHyHn9Og/p6p54S9m p2B5MlLoVJVMyHvL9aykGTxMr6cm1Cc0rg3ZIcGIEUkEtnWJtRNkcossnEh08MqVgX XqJ/XKg/AcJzi3G1F5JtW9NXibd4YMxfdqbhWSxM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Bottomley , Helge Deller Subject: [PATCH 5.2 108/131] parisc: Add archclean Makefile target Date: Mon, 5 Aug 2019 15:03:15 +0200 Message-Id: <20190805124959.196052331@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190805124951.453337465@linuxfoundation.org> References: <20190805124951.453337465@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: James Bottomley commit f2c5ed0dd5004c2cff5c0e3d430a107576fcc17f upstream. Apparently we don't have an archclean target in our arch/parisc/Makefile, so files in there never get cleaned out by make mrproper. This, in turn means that the sizes.h file in arch/parisc/boot/compressed never gets removed and worse, when you transition to an O=build/parisc[64] build model it overrides the generated file. The upshot being my bzImage was building with a SZ_end that was too small. I fixed it by making mrproper clean everything. Signed-off-by: James Bottomley Cc: stable@vger.kernel.org # v4.20+ Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman --- arch/parisc/Makefile | 3 +++ arch/parisc/boot/compressed/Makefile | 1 + 2 files changed, 4 insertions(+) --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -164,5 +164,8 @@ define archhelp @echo ' zinstall - Install compressed vmlinuz kernel' endef +archclean: + $(Q)$(MAKE) $(clean)=$(boot) + archheaders: $(Q)$(MAKE) $(build)=arch/parisc/kernel/syscalls all --- a/arch/parisc/boot/compressed/Makefile +++ b/arch/parisc/boot/compressed/Makefile @@ -12,6 +12,7 @@ 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 += misc.o piggy.o sizes.h head.o real2.o firmware.o +targets += real2.S firmware.c KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING