Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp305975ybb; Thu, 19 Mar 2020 22:38:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtM1X4XjUfPdHZ2/C1/hFrpOVJPvvlJ4J7/O/BeevZW1+ooQtGVHMzJdomRzq20yUlYC2tp X-Received: by 2002:aca:cf0d:: with SMTP id f13mr5014874oig.162.1584682729544; Thu, 19 Mar 2020 22:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584682729; cv=none; d=google.com; s=arc-20160816; b=HlhQGyTRWW9pj6wf4tFye+1J/u93JtyIFzKGyNQQSIcGjIy/fPHY1xsduyxfw8rOlA naFsZPXGVlnNsleOYJUNDTdGaPMU6//1elvnw2wABx5lRG42eITFlLXmphmSdfcvDq+9 oYG4Hh2azFvZkXKB9sRErBtX7RVBgHA8x8NCeHbkDP3SGYIZh/3phww+brf+F2VLpv5V Ndsa5vYl/w8R5NNU+WwBNDUBXbo2V6jlP3mwhdPYSEiTVhcgJtCMda0uzuQFSmodLoCY oN7NwpzxNrZZ1Om4ho63qEW4AsaZuYTXDRLr44QL0fguTNeHjgXusY4vjDKv2QNyWcaA sNKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=xdA2llqzGvK+MLuq5rYoiW97zhsXOWoHmh0JegwwT7o=; b=YRwuUB/dqjmxPrYJHwMnUzKEFprP69fHF1njc/5BkowCLyyh5ou4fln+CeT/AAnWlt i3wDxhq/c0yA8VH5vlZLKElY9SJBHyI0Ny9OH710+vUlezEyUcsa1gFkp7YrGhqD5AxX D0+C6sOn+I1LcKrVJ10O1z+9rE7aD2GQR+RuSGMgJwEyggwuUofNXkTDYAwTU60S0oA6 synPleS+lBNqu3G/6z6GBULastkyzYRELj48MTMMahh3XXNKRPXc8vOC/ULh6VeO2/TV 0VCCF+jVLbUXbZnKbVPl4MeUI5ezg5dHM7ibbQS3mKvvK+ibWMdsCbtcy95wXWVTCYUT 0jxw== 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 p14si2826362ota.142.2020.03.19.22.38.34; Thu, 19 Mar 2020 22:38:49 -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 S1726894AbgCTFiN convert rfc822-to-8bit (ORCPT + 99 others); Fri, 20 Mar 2020 01:38:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:52332 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbgCTFiN (ORCPT ); Fri, 20 Mar 2020 01:38:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3EF15AC42; Fri, 20 Mar 2020 05:38:08 +0000 (UTC) Date: Thu, 19 Mar 2020 22:36:57 -0700 From: Davidlohr Bueso To: Thomas Gleixner Cc: LKML , Peter Zijlstra , Linus Torvalds , Ingo Molnar , Will Deacon , "Paul E . McKenney" , Joel Fernandes , Steven Rostedt , Randy Dunlap , Oleg Nesterov , Sebastian Andrzej Siewior , Logan Gunthorpe , Kurt Schwemmer , Bjorn Helgaas , linux-pci@vger.kernel.org, Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Kalle Valo , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Michael Ellerman , Arnd Bergmann , linuxppc-dev@lists.ozlabs.org Subject: Re: [patch V2 06/15] rcuwait: Add @state argument to rcuwait_wait_event() Message-ID: <20200320053657.ggvcqsjtdotmrl7p@linux-p48b> References: <20200318204302.693307984@linutronix.de> <20200318204408.010461877@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200318204408.010461877@linutronix.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Mar 2020, Thomas Gleixner wrote: >--- a/include/linux/rcuwait.h >+++ b/include/linux/rcuwait.h >@@ -3,6 +3,7 @@ > #define _LINUX_RCUWAIT_H_ > > #include >+#include So this is causing build to fail for me: CC arch/x86/boot/compressed/cmdline.o arch/x86/boot/compressed/cmdline.c:5:20: error: conflicting types for ‘set_fs’ static inline void set_fs(unsigned long seg) ^~~~~~ In file included from ./include/linux/uaccess.h:11:0, 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 ./include/linux/fs.h:34, from ./include/linux/proc_fs.h:9, from ./include/acpi/acpi_bus.h:83, from ./include/linux/acpi.h:32, from arch/x86/boot/compressed/misc.h:28, from arch/x86/boot/compressed/cmdline.c:2: ./arch/x86/include/asm/uaccess.h:29:20: note: previous definition of ‘set_fs’ was here static inline void set_fs(mm_segment_t fs) ^~~~~~ make[2]: *** [scripts/Makefile.build:268: arch/x86/boot/compressed/cmdline.o] Error 1 make[1]: *** [arch/x86/boot/Makefile:113: arch/x86/boot/compressed/vmlinux] Error 2 make: *** [arch/x86/Makefile:285: bzImage] Error 2 Right now I'm not sure what the proper fix should be. Thanks, Davidlohr