Received: by 10.192.165.148 with SMTP id m20csp798665imm; Fri, 27 Apr 2018 07:42:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZomPCG5ALGcZe6uuHXtn2XX3bt4gKA7WfHAmO0rGYmGTAyJRT1rY7BAPgHaw6PIWUdWpZao X-Received: by 2002:a17:902:aa95:: with SMTP id d21-v6mr1640415plr.73.1524840124881; Fri, 27 Apr 2018 07:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524840124; cv=none; d=google.com; s=arc-20160816; b=wTJmgD/PzmAgxc0m82nJs0zvSplPY05LQKy04m1JaH5OAnFvq0wBUx5bTKNDMXGKA+ Cu0snDehB7PIXU75ZpEgdWKH8KC4jsKW+IgS7vGMh95yoSLhXHnAepWo3TYzOb7AuiFw pCJGhSKPAgotJteVWUJdxpViJ3geE7N/j4fpp+L562f4yLaXm/GQupZ9+IMuLDAYDZrZ u4G4fJQ/IXH2yx3VsjnN3mWIxCwNlB6wfZ/RGCW7WzRN0vxDIlAovHVF1323dwxkXk8r SNWPsVTxzBqWmMR58lConRfObUWrtmxrEeK2x1UliKvKrzGR4SKET8XgkZuOXcfRi6do BXSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=F3Ynh2GTSGh2jJzEqm9A4QOMrQKaVR2LQitXTi8TOmk=; b=bYQlvTLAGVU1ua422wYRCldZvHJ+UW+oT7UDjJNNV7dI84QiWDuIZWeSyBlWBY5Xqe Vth6lkf+KTuvrTSikkYBcEkvaUmLxB6bumgvH7FbBGWxaGXCOkFXSzsQZZ9RhW3JgsWW P5RH9RQcRfBYHQ5z1VrRnTi0mm9t71tOMi628u96+KMsRHIeymys5KrPGFHbeH1qQUM9 uVz6sdj3lzw0mh1VbOQdCyimpRpnEkwAK6DZA3ONbUsZBvhc0WqlFxLPWQplrp1dfydm lpWfgtckEOClxdYFNaQs0QwkolgRAIDs8cgo3+PPy1tQq49N7SnIVKyouNsOmIYKWVBh j7FQ== 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 d14si1364524pfl.122.2018.04.27.07.41.50; Fri, 27 Apr 2018 07:42:04 -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; 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 S934726AbeD0Oku (ORCPT + 99 others); Fri, 27 Apr 2018 10:40:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:54408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934597AbeD0OI5 (ORCPT ); Fri, 27 Apr 2018 10:08:57 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 CA72F21864; Fri, 27 Apr 2018 14:08:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA72F21864 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , "Hao, Shun" , Arnd Bergmann , Michal Simek , Guenter Roeck Subject: [PATCH 4.14 41/80] Revert "microblaze: fix endian handling" Date: Fri, 27 Apr 2018 15:58:34 +0200 Message-Id: <20180427135735.038395432@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135732.928644313@linuxfoundation.org> References: <20180427135732.928644313@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Greg Kroah-Hartman This reverts commit ac3d021048be9edb825f0794da5b42f04fefecef which is commit 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f upstream. kbuild reports that this causes build regressions in 4.14.y, so drop it. Reported-by: kbuild test robot Reported-by: "Hao, Shun" Cc: Arnd Bergmann Cc: Michal Simek Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- arch/microblaze/Makefile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -36,21 +36,16 @@ endif CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_DIV) += -mno-xl-soft-div CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_BARREL) += -mxl-barrel-shift CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR) += -mxl-pattern-compare - -ifdef CONFIG_CPU_BIG_ENDIAN -KBUILD_CFLAGS += -mbig-endian -KBUILD_AFLAGS += -mbig-endian -LD += -EB -else -KBUILD_CFLAGS += -mlittle-endian -KBUILD_AFLAGS += -mlittle-endian -LD += -EL -endif +CPUFLAGS-$(CONFIG_BIG_ENDIAN) += -mbig-endian +CPUFLAGS-$(CONFIG_LITTLE_ENDIAN) += -mlittle-endian CPUFLAGS-1 += $(call cc-option,-mcpu=v$(CPU_VER)) # r31 holds current when in kernel mode -KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-y) $(CPUFLAGS-1) $(CPUFLAGS-2) +KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2) + +LDFLAGS := +LDFLAGS_vmlinux := head-y := arch/microblaze/kernel/head.o libs-y += arch/microblaze/lib/