From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Down Date: Fri, 26 Feb 2021 13:47:20 +0000 Subject: Re: [PATCH] ia64: Depend on non-static printk for cmpxchg debug Message-Id: List-Id: References: <20210226130029.GC2723601@casper.infradead.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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.