Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1725559ybb; Sat, 21 Mar 2020 04:37:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv6cpFef5x/yt4V5RHz3cTWSH322FqXjzovs5MllHfSOFB6YkcJPtH0Yy79HpK6f+RzSXc4 X-Received: by 2002:aca:ab4b:: with SMTP id u72mr10459139oie.97.1584790663707; Sat, 21 Mar 2020 04:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584790663; cv=none; d=google.com; s=arc-20160816; b=xATyhI7AZm/ROJSJ0U34q9RjAhCUmUwhCBLhuJC+yqs1WaCCjJgCKqu4uKvB7Q6KEw b1lN05WNUThlbitnq2hq+KkELtB8XTsevbJIUNeNiUAUsoEEGZBbSLj5QN1y8VP5dOoC TO9HuAnBa3qRJRR09KBYK4luBiOWQXD77ICbuemL5FiR1B6e+49v3sIgfh1pL7anf97S 86iahsfoL1v0uno0tUtKZET18qnchO2C+AEIASsz8+ZHhY4TwJs+T76C7LVj+GfoSi8B +zi+euHX4c5/ndmuKzi4izyJo7h29RnzFQOBd3l65yVi2yDjDNarfzEi/ps4P8exUxK/ lxWA== 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 :references:subject:cc:to:from:date:user-agent:message-id; bh=Bz0oam3jk1g9yXibiyLGUcIwxXC0HW0DEew5KE9G9Vg=; b=IgN8SSahgI4zNG9n2vinvbXLNlXYcgNhEBuXtrt8YhF9aHMgf9buyIAqQCmtX904NC wfZf4o+Q4g/fOcrnyt5js14+oI5VmJECik/yvshg0+OtljYByrLnQnVkiafZ1VhnRwTu kvxIAsn7QprK1woJwPXjGY5rI+WX5qdaLvAKEaDzYUPBAffffAU60woIXyugBGq2lscn CJ8fTxIN8AhO49auRC9A+DUzrZ8nwO1EenQcZm7bFLaSJNbFnYRZ2WnRMoAabDgO4+FE lwQaEge3eCRXEVjqIn6c19EMl8MrgbGnuPL2fD7gJ5M3y2B8SxiQuo+8YjCeGRty111r aW1A== 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 c19si6259587ots.118.2020.03.21.04.37.32; Sat, 21 Mar 2020 04:37:43 -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 S1728934AbgCULhO (ORCPT + 99 others); Sat, 21 Mar 2020 07:37:14 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:38472 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727100AbgCULe4 (ORCPT ); Sat, 21 Mar 2020 07:34:56 -0400 Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jFcOS-0001zZ-4Y; Sat, 21 Mar 2020 12:34:20 +0100 Received: from nanos.tec.linutronix.de (localhost [IPv6:::1]) by nanos.tec.linutronix.de (Postfix) with ESMTP id 4AC801039FF; Sat, 21 Mar 2020 12:34:19 +0100 (CET) Message-Id: <20200321113241.531525286@linutronix.de> User-Agent: quilt/0.65 Date: Sat, 21 Mar 2020 12:25:52 +0100 From: Thomas Gleixner To: LKML Cc: Peter Zijlstra , Ingo Molnar , Sebastian Siewior , Linus Torvalds , Joel Fernandes , Oleg Nesterov , Davidlohr Bueso , kbuild test robot , Brian Cain , linux-hexagon@vger.kernel.org, Logan Gunthorpe , Bjorn Helgaas , Kurt Schwemmer , linux-pci@vger.kernel.org, Greg Kroah-Hartman , Felipe Balbi , linux-usb@vger.kernel.org, Kalle Valo , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Darren Hart , Andy Shevchenko , platform-driver-x86@vger.kernel.org, Zhang Rui , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Len Brown , linux-acpi@vger.kernel.org, Nick Hu , Greentime Hu , Vincent Chen , Guo Ren , linux-csky@vger.kernel.org, Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org, Michal Simek , Michael Ellerman , Arnd Bergmann , Geoff Levand , linuxppc-dev@lists.ozlabs.org, "Paul E . McKenney" , Jonathan Corbet , Randy Dunlap , Davidlohr Bueso Subject: [patch V3 08/20] hexagon: Remove mm.h from asm/uaccess.h References: <20200321112544.878032781@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-transfer-encoding: 8-bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Andrzej Siewior The defconfig compiles without linux/mm.h. With mm.h included the include chain leands to: | CC kernel/locking/percpu-rwsem.o | In file included from include/linux/huge_mm.h:8, | from include/linux/mm.h:567, | from arch/hexagon/include/asm/uaccess.h:, | from include/linux/uaccess.h:11, | from include/linux/sched/task.h:11, | from include/linux/sched/signal.h:9, | from include/linux/rcuwait.h:6, | from include/linux/percpu-rwsem.h:8, | from kernel/locking/percpu-rwsem.c:6: | include/linux/fs.h:1422:29: error: array type has incomplete element type 'struct percpu_rw_semaphore' | 1422 | struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS]; once rcuwait.h includes linux/sched/signal.h. Remove the linux/mm.h include. Reported-by: kbuild test robot Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner Cc: Brian Cain Cc: linux-hexagon@vger.kernel.org --- V3: New patch --- arch/hexagon/include/asm/uaccess.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/hexagon/include/asm/uaccess.h b/arch/hexagon/include/asm/uaccess.h index 00cb38faad0c4..c1019a736ff13 100644 --- a/arch/hexagon/include/asm/uaccess.h +++ b/arch/hexagon/include/asm/uaccess.h @@ -10,7 +10,6 @@ /* * User space memory access functions */ -#include #include /* -- 2.26.0.rc2