Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1946260ybt; Mon, 15 Jun 2020 13:43:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznA4Ug0klAOC2fH9mWBBLqly635eGwa6lPjAO3ZlLv++Q/ncZwy+RLheKIDzRcAf2DjIn5 X-Received: by 2002:a17:906:1f4f:: with SMTP id d15mr27080316ejk.206.1592253811348; Mon, 15 Jun 2020 13:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592253811; cv=none; d=google.com; s=arc-20160816; b=ZJ0GF/KkafFYkZI/dNpgr9DDpC4KMzekyfh5fVhOGtvDQsdHBM6dAGTYo6TkiFQ1LS FFz1GJBbI4nuABj7Gj9w2+xSSKtQjGFqxU6VnHgQa+lcBbqgbWzG9p8lb7q6rVXO4Gtv hTVkwoC44ufRP5Gnu09FGe2wQOrxitMNlRg9n8KdBBR9/ez+zt8NmYApkDPOHBTPgqYX Z1w3ZZ3HgSaQ0HjASGmgzqOIvf/0CAdjE9AdywO6Br883hIZb2GL/TlPMwu9fKT1ng7f NrOsdBMFe8pUoj8U0KqeE53YyI+Rek2FTKxpRX/2sTVRKkatN73pOa3kNGnptIWiEiM3 gbIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=R/Mp7iKWT7GJmgr8/QHDR53t1KgWn8P7FwKRZ54fDz4=; b=Zh7xCYQ+G0i7WmSAJmXUIKeo/K+UvoWWmIDxw5OrOcGfGstWMQKI/caQDOAY72MU8l 0+LH9L0u7xD83Mn/1ovNDGaQVWDoehuvpo2AbaxM7TQGx77I3tfYM5Wi+LADiwRsHGJ3 FwVwWcNavJyxTWon51o7XRi4xg/sDCvK3RIZ2sIIKHPPyk4vVJpWZdC0FYFwHQxCRL3M EJ7SDg1KytQkR68iAdNvny+4wXStnIz7B67PRcsWXW6nBpGZnUV3OIqeJLjgSVmo0DFo 9TJTGYBZ01Vhwmejn/NypH5RMy8nHUOnzUeEM2NFE6pMf4ti97/R+PlyIqgUzCQ0qvde eNrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nyQv9W0a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si9017624edr.8.2020.06.15.13.43.09; Mon, 15 Jun 2020 13:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nyQv9W0a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731560AbgFOUix (ORCPT + 99 others); Mon, 15 Jun 2020 16:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbgFOUiv (ORCPT ); Mon, 15 Jun 2020 16:38:51 -0400 Received: from mail-vs1-xe41.google.com (mail-vs1-xe41.google.com [IPv6:2607:f8b0:4864:20::e41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98256C061A0E; Mon, 15 Jun 2020 13:38:51 -0700 (PDT) Received: by mail-vs1-xe41.google.com with SMTP id 190so10141434vsr.9; Mon, 15 Jun 2020 13:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R/Mp7iKWT7GJmgr8/QHDR53t1KgWn8P7FwKRZ54fDz4=; b=nyQv9W0a7BcbzNqTfK4QHt1nuHWmFDxJhtl708ayOpYUemDeK7k75l5Bf93A91FNb6 baIlDVjAqMEECZ3IJ25V9nnjghtCdIDkK0QLVxt4lVZH6ALhXhDsE9fqbI1PRIR05Hie 5HjxZ6b5D7stefT+VAckIZlUB7XBoYTH2IPw71fkpWNYRXCOxD/o4d0Qe1q2nZ87zmdd 98/uCSMolaEe9jGaVGM/3MbQC8GW4GmMMaZE73Rlu15AInwdzqJQQKC1cKCqGSfys/39 oR2kRMx/Isi/I7sdkuJtBdnwSOsxIo/lIMbWkttPmAkuNYhdFW5+xg5b3WK6x/MZCUYE Zp+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R/Mp7iKWT7GJmgr8/QHDR53t1KgWn8P7FwKRZ54fDz4=; b=HMV6kQZpn05NjrNwDDTiDyijx+zS5Dr/DGwFIrj7N9tbBOY8WBBGSTp/0D4CASd7iY mGyKGmm1cu0TY2+ude4UB5gFXhO2uf0qVkEDeRhpLhv5qa3n9DluHbQMJyAn3+P70Nwo f8IBm1YicCWFuk5PSfaY9SyPWPsRKCKwg4uL+CgW+XutIRcEL7iXyObrqJlS4TSoKAg9 HJ4vpLiChS7EutK/N/nixBXFA51wxacl5OspPXmRT/xBsUwmY0/W2Ono1MRuuI1sIZ1f NJpioFhjUXH56Q7yr9/HEFHQlJk5q6XebcLiHFF+0cP1iuKRlYbG9j0vbWh/bmZcuTy1 aaNg== X-Gm-Message-State: AOAM533ApZ+ULaOjqS9+RmHnRvKLef8d3SRmZZyEAVeE0VpXrdQEEpqH LNw6qundjksdfV5FDLBRr84E8Ranp4NzQcJiYYs= X-Received: by 2002:a67:3291:: with SMTP id y139mr21083280vsy.37.1592253530812; Mon, 15 Jun 2020 13:38:50 -0700 (PDT) MIME-Version: 1.0 References: <839133dd-8ed4-5fec-c311-ce9f8abf3d5f@samsung.com> In-Reply-To: <839133dd-8ed4-5fec-c311-ce9f8abf3d5f@samsung.com> From: Emil Velikov Date: Mon, 15 Jun 2020 21:35:10 +0100 Message-ID: Subject: Re: [PATCH 1/2] video: fbdev: amifb: remove dead APUS support To: Bartlomiej Zolnierkiewicz Cc: linux-fbdev , ML dri-devel , linux-m68k , Geert Uytterhoeven , "Linux-Kernel@Vger. Kernel. Org" , Al Viro 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 Hi Bartlomiej, On Tue, 2 Jun 2020 at 11:37, Bartlomiej Zolnierkiewicz wrote: > > > On 5/14/20 10:21 PM, Geert Uytterhoeven wrote: > > > These #ifdefs are relics from APUS (Amiga Power-Up System), which > > added a PPC board. APUS support was killed off a long time ago, > > when arch/ppc/ was still king, but these #ifdefs were missed, because > > they didn't test for CONFIG_APUS. > > Reported-by: Al Viro > Reported-by: Geert Uytterhoeven > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/video/fbdev/amifb.c | 63 -------------------------------------------- > 1 file changed, 63 deletions(-) > A quick look through my checkout (drm-misc/next aka 5.8 ish), shows multiple other places which check for the define. And a single place where it's being set - the Makefile below. Should those be addressed as well? Or perhaps they are and I've got an old tree. HTH Emil $ git grep -c __mc68000__ arch/m68k/Makefile:1 drivers/block/floppy.c:2 drivers/ide/ide-probe.c:2 drivers/input/misc/hp_sdc_rtc.c:1 drivers/input/serio/hp_sdc.c:3 drivers/input/serio/hp_sdc_mlc.c:1 drivers/net/ethernet/i825xx/82596.c:8 drivers/tty/vt/keyboard.c:1 drivers/video/fbdev/amifb.c:11 include/linux/a.out.h:1 include/linux/hp_sdc.h:1 include/uapi/linux/a.out.h:1 lib/fonts/fonts.c:2 lib/mpi/longlong.h:1