From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 500F2C433E6 for ; Fri, 26 Feb 2021 13:48:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF7E564EC0 for ; Fri, 26 Feb 2021 13:48:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbhBZNsH (ORCPT ); Fri, 26 Feb 2021 08:48:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhBZNsC (ORCPT ); Fri, 26 Feb 2021 08:48:02 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C788C061574 for ; Fri, 26 Feb 2021 05:47:22 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id w11so8619734wrr.10 for ; Fri, 26 Feb 2021 05:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vTw5pV8CppqaFWYeiTnc7rI0doZYk4bhQx1gn2PUM+c=; b=rQwYdC4L1ZQNePU5zXmJj4yQMRJzUx75u9nGyOrtOTzEf4kcM0mqcJefmV6wmB46ig UxyjFkKq76yoz7mM854sr4iiDzvbgXSWYQeaVk2kmsJA6h7PVkE2ScDqX7mhdZv3t6t6 HYgQKCePp2o2dBRyWr2il29WE3zXnkf8Dv3u8= 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:user-agent; bh=vTw5pV8CppqaFWYeiTnc7rI0doZYk4bhQx1gn2PUM+c=; b=Nzx29+2P0fS6qWlkvAYj1lFPlzdYRvNaiNX4ubOvHvh3jcQLuzHyH8yvHdDfyo9a5G 9UKy2aMUE7/VyCMT21/WSrXHBbVR4ISjbQF43dNwADf2F9R/WZyyBNH2M15h2d37PlA7 Z3ZIVWOEcs8DRTvj78eEXXa/3Am2T1u7cqP3XBdyNJ4ABdSczVyLm4YIUIm2I5zkSGg6 0Ab3LpzrN0fd9P8Wcz2QLcD/e4CYlp3lzbTYQbXRWkAdMvzHgnDC8f8hP/LYsm3Tz8Nd CxejxRIySLht2qf5SYHa5FGnLzC8EZA6K4ZN6Kbo9c/rYel8hg/cUsLbM8fN31Q291Jb 4hJQ== X-Gm-Message-State: AOAM530izS/eX8hkHkLn/ou15jznlcvee6AwUC8X34DpwbLeWVyh10VW Z/l8LmAkXQgYDvkgiZ+F+wcwLw== X-Google-Smtp-Source: ABdhPJyPIZy8UwWq69q/gkkLW4ZIRBWdSesqrIV6aqBwCubu5YLuWEdVDHMLcKWfhMLfOO/m6Jmv9g== X-Received: by 2002:adf:fe09:: with SMTP id n9mr3390807wrr.104.1614347240990; Fri, 26 Feb 2021 05:47:20 -0800 (PST) Received: from localhost ([2620:10d:c093:400::4:87b5]) by smtp.gmail.com with ESMTPSA id c11sm12808490wrs.28.2021.02.26.05.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 05:47:20 -0800 (PST) Date: Fri, 26 Feb 2021 13:47:20 +0000 From: Chris Down To: Matthew Wilcox Cc: Andrew Morton , linux-mm@kvack.org, Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH] ia64: Depend on non-static printk for cmpxchg debug Message-ID: References: <20210226130029.GC2723601@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.5 (da5e3282) (2021-01-21) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chris Down writes: >I must confess I have no idea of the history of why it was `extern >int` in the first place -- my fear was somehow we use cmpxchg.h from a >different context. Do you have any idea? :-) Ok, found where it's introduced in the pre-git archives: "New file asm-ia64/intrinsics.h." from David Mosberger , Dec 9 2002. No indication why it's extern, but it's been there since the dawn of ia64.