Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp573782pxv; Wed, 14 Jul 2021 10:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkxznnvGbdYNMNAWDBdCU7ToEveZM11BfHdDuaCLvN7lNZJYQ79IOLnDfNjiyi8+aHk8Mt X-Received: by 2002:a5d:8c9a:: with SMTP id g26mr8032512ion.121.1626283070387; Wed, 14 Jul 2021 10:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626283070; cv=none; d=google.com; s=arc-20160816; b=cq3cMTdvlRMX9ObTbIQJJJESUZ1ahHEWcyO43574ISySSeoIS+RnWDWVQVjwz/hRG0 lQ3md8XQIvALzF4AdBkJdFceSUoc6XvuX7HsJV4d+Cc8rOBV13ebtZiiXwbwtvDsklQP l5J3hGLxSjj2TG/f7vR6lyTBoGDfMDeSWjbaoSIYvgfPBMCwlklvqRzV+RtR9EOahZxc 4hXU7Mj9Bn097E4379NV0mjeFiGUREFjec6V2azMZ31fWf++mgft2L6z5Es0uscpYydI +I0G89oCRO6XUuLNIom5Fi7oVo1YSBBccjorkY46482D0nKUrBulq+ByxiBr71/o8Ftd SC8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jpddBbK7GUBH/m3UB4sVJbslsEL30FqFzIQ3/5AgwUw=; b=gT8C73HVlaiuuPeZyE47cmqUui8IU16pHW+zD35TY59deTJBgnpF1xGlqkqpssLMdN nk/7LXCsP6teiamPdrGL/M3JC4yD98ttJ0jPxFb1ODVHAdDIoUlQrudgPcyS2Xvz0PoT cZyNsFA7LkcpEW7SxLYA7YDMSQSxL6PgfJp+1vqxrPP0Qy8AaYy2BR1fsnRG3R6dGdUG k4/EubnaCtzvcuIRrkQQQX0WIASdOjUvDR15HVCwUHFlaq8ei0zcvFur1jKNB18wuN9k 8vhdna8ZenLB8orsaVyGIp0wYSg9jSVtqIKQ/fnPW5qzbCz7uA/708LYstSIpHd9Phyr dO8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hje4Ex5x; 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 c19si3862662iow.1.2021.07.14.10.17.36; Wed, 14 Jul 2021 10:17:50 -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=Hje4Ex5x; 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 S235859AbhGNRTx (ORCPT + 99 others); Wed, 14 Jul 2021 13:19:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbhGNRTx (ORCPT ); Wed, 14 Jul 2021 13:19:53 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD842C06175F; Wed, 14 Jul 2021 10:16:59 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id t2so3754113edd.13; Wed, 14 Jul 2021 10:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jpddBbK7GUBH/m3UB4sVJbslsEL30FqFzIQ3/5AgwUw=; b=Hje4Ex5xc3s0O1a07kRaiLE/1Mi1hFAI7RZGQ+ELC7lvJtrCXrxRu087FCcssyGuxU iysvxLWvNOCR86kB2/Is8ltLqX92BjWyn+eSHIWrM9VLdzuLkFV06tCTL4pdS7WNImdl Xj2/azO5zT3lU5ySniz/UaQYA4+ZIH/mhTzPR/y6haUyEQOXF4OoUkGOtDpRJ2YIFyxr Ff/1FrANU8Y8gAWic79Vtl+DDnun2jtYdjwg6c/bKy5+A7dfVBwEzfb+tdf9SzH6PZaM O762smPcqNBou13h658IqX3YHvZX0qP5oUUpbLsDDu+gvEzmuZG2t1y4nQH9fmuHC+Ns YzOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jpddBbK7GUBH/m3UB4sVJbslsEL30FqFzIQ3/5AgwUw=; b=mzltYEvsxIXxdpbtU4ZsdFPsT+bSwbenaNON1l6PwLRJX2av/pT+RznAoLoycKtdCf 1FoUNisrZH8IxFrBXGe8xu4mV6TB+tYAoCxbsC/T0MPQwpAqDYcCwarXMsdHnctUUFen lOKKwBLYRwVYEe0TOcqCDMznJQY+uRhFFmfFSDkr3fLzA4JQJXC7YtCjPCmQZ3X1QpmF 5X4gd6pVTrouBrWvxmNIAmWqX9k4/6waBWC7LnyX8BcT7CPnAJuQuAmgmFRvhmLqJPvE Zv2qiGQ/qhKphDLmR6hWPbH6d6zggZnHXzZ9aan1KpDY80SacaVd01pzrsCvpc/wuOWj iOvQ== X-Gm-Message-State: AOAM532+qlJwJtZo0g7GtLCMRyLgvGAdNh2ORRYx1xX1TLlkrgVsNrPM 07rVDEZa8R48ruJN/6jLsA== X-Received: by 2002:a05:6402:3450:: with SMTP id l16mr15104945edc.358.1626283018285; Wed, 14 Jul 2021 10:16:58 -0700 (PDT) Received: from localhost.localdomain ([46.53.253.115]) by smtp.gmail.com with ESMTPSA id s4sm1300446edu.49.2021.07.14.10.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 10:16:58 -0700 (PDT) Date: Wed, 14 Jul 2021 20:16:56 +0300 From: Alexey Dobriyan To: Christoph Hellwig Cc: akpm@linux-foundation.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de Subject: Re: [PATCH] Decouple build from userspace headers Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 04:56:46PM +0100, Christoph Hellwig wrote: > On Wed, Jul 14, 2021 at 06:54:08PM +0300, Alexey Dobriyan wrote: > > On Wed, Jul 14, 2021 at 03:22:08PM +0100, Christoph Hellwig wrote: > > > > -#define signals_blocked false > > > > +#define signals_blocked 0 > > > > > > Why can't we get at the kernel definition of false here? > > > > Variable and other code surrounding this wants "int". > > I don't really want to expand into bool conversion. > > Maybe split this into a separate prep patch then. And get accused of KPI padding? :-)