Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbbDAIX7 (ORCPT ); Wed, 1 Apr 2015 04:23:59 -0400 Received: from mail.skyhub.de ([78.46.96.112]:55031 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbbDAIXz (ORCPT ); Wed, 1 Apr 2015 04:23:55 -0400 Date: Wed, 1 Apr 2015 10:21:56 +0200 From: Borislav Petkov To: LKML Cc: "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , Tony Luck , Peter Zijlstra , Steven Rostedt , Andy Lutomirski , Matt Fleming , =?utf-8?B?SsO2cmcgUsO2ZGVs?= , Jiri Kosina , Jeff Mahoney , Michal Hocko , Vlastimil Babka , Andre Przywara , Andreas Herrmann , Robert Richter , Richard Weinberger , Linus Torvalds Subject: Re: [PATCH] x86: Drop 32-bit support ... finally. Message-ID: <20150401082156.GA18371@pd.tnic> References: <1427876158-18323-1-git-send-email-bp@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1427876158-18323-1-git-send-email-bp@alien8.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3310 Lines: 97 peterz says I forgot to Cc Linus. My bad. Fixed. On Wed, Apr 01, 2015 at 10:15:58AM +0200, Borislav Petkov wrote: > From: Borislav Petkov > > Today, April 1st 2015, marks almost 15 years since the introduction of > the 64-bit extensions to the x86 architecture. And frankly, 15 years was > a graceful period enough for people to move to 64-bit. Therefore, today, > I'm removing 32-bit support from x86 Linux. And it was about friggin' > time... > > 32-bit code is old, full of nasty hacks and keeps always breaking when > we do our shiny new features for 64-bit. And frankly, no one cares > about 32-bit. If you do, then you're wrong and you need to get with the > program. Go out, take a deep breath, go for a walk and the first thing > you do when you come back is *take* *a* *look* at the goddam calendar. > Time to say goodbye to your old 32-bit sand. Get a 64-bit processor. > Live a little. Come to the real world. > > This is a minimal patch which prevents from building a 32-bit kernel > only. Removing of the rest of the crazy ifdeffery and potential cleanups > needs to come later, in nice clean patches. This is especially true for > you, you patch count wankers. Restrain yourself! > > Signed-off-by: Borislav Petkov > Cc: H. Peter Anvin > Cc: Ingo Molnar > Cc: Thomas Gleixner > Cc: Tony Luck > Cc: Peter Zijlstra > Cc: Steven Rostedt > Cc: Andy Lutomirski > Cc: Matt Fleming > Cc: Jörg Rödel > Cc: Jiri Kosina > Cc: Jeff Mahoney > Cc: Michal Hocko > Cc: Vlastimil Babka > Cc: Andre Przywara > Cc: Andreas Herrmann > Cc: Robert Richter > Cc: Richard Weinberger > --- > Makefile | 3 --- > arch/x86/Kconfig | 9 ++------- > 2 files changed, 2 insertions(+), 10 deletions(-) > > diff --git a/Makefile b/Makefile > index da36a3be7969..0a907dd934b6 100644 > --- a/Makefile > +++ b/Makefile > @@ -256,9 +256,6 @@ UTS_MACHINE := $(ARCH) > SRCARCH := $(ARCH) > > # Additional ARCH settings for x86 > -ifeq ($(ARCH),i386) > - SRCARCH := x86 > -endif > ifeq ($(ARCH),x86_64) > SRCARCH := x86 > endif > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 8db84b0e5bbd..9fed79e3ed39 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1,13 +1,8 @@ > -# Select 32 or 64 bit > config 64BIT > - bool "64-bit kernel" if ARCH = "x86" > - default ARCH != "i386" > - ---help--- > - Say yes to build a 64-bit kernel - formerly known as x86_64 > - Say no to build a 32-bit kernel - formerly known as i386 > + def_bool y > > config X86_32 > - def_bool y > + def_bool n > depends on !64BIT > select CLKSRC_I8253 > select HAVE_UID16 > -- > 2.3.3 > > -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/