From patchwork Thu Jan 31 08:39:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 10790015 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0FF191E for ; Thu, 31 Jan 2019 08:39:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFC522FB1E for ; Thu, 31 Jan 2019 08:39:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2A832FB3B; Thu, 31 Jan 2019 08:39:46 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB7132FB1E for ; Thu, 31 Jan 2019 08:39:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726172AbfAaIjp (ORCPT ); Thu, 31 Jan 2019 03:39:45 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:43533 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbfAaIjp (ORCPT ); Thu, 31 Jan 2019 03:39:45 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gp7st-00045a-LI; Thu, 31 Jan 2019 09:39:43 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1gp7st-0005w6-7P; Thu, 31 Jan 2019 09:39:43 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: linux-sparse@vger.kernel.org Subject: [PATCH] machine.h: Fix MACH_NATIVE on m68k Date: Thu, 31 Jan 2019 09:39:41 +0100 Message-Id: <20190131083941.10272-1-uwe@kleine-koenig.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-sparse@vger.kernel.org Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes a failure to compile on m68k as MACH_68K is undefined. Fixes: ce50c885b8b0 ("add detection of native platform") Signed-off-by: Uwe Kleine-König --- machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine.h b/machine.h index 09c1f513c2ad..b46383ac1d8c 100644 --- a/machine.h +++ b/machine.h @@ -67,7 +67,7 @@ enum machine { #elif defined(__sparc__) || defined(__sparc) #define MACH_NATIVE MACH_SPARC32 #elif defined(__m68k__) -#define MACH_NATIVE MACH_68K +#define MACH_NATIVE MACH_M68K #elif defined(__s390x__) || defined(__zarch__) #define MACH_NATIVE MACH_S390X #else