Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C1FF343D60 for ; Fri, 19 Dec 2025 15:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766159179; cv=none; b=mQj+258LtKDxTjmDB/zfubDiH5SWxVczjR8lgnNgG6xkY99OUCrPOJTg2OhldSC3r6fEyWQJ7PXWdothzNO7g+EFMdDz6Ic/1n1lO7FviA1FkAVDggb8cqXmb8gr4lyqDrla88OYSFF0OVOQ3wXCOpnX5rE3w+T8OYI/oz/s0ho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766159179; c=relaxed/simple; bh=UEZ87BxP3bpICDcmger+CGP9yO2gKJF9FSIT7SHC+TA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=KG1rOzYPBl4TXl8hTjSJiDSIEY2cu6EVh375ABVNZOAn9Ausr+yiNwYKKlOURGkgdQ+l5KQO9/qz315al0oW7IJhlmPTyK3U6wEuPeqxcNZaKrw1QKJ91HCpETgzm81fpXcAda+8jR6UwqwJGJj4xlSRl5dkOLF1BAQs/8sXJO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--elver.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=20xkXXuA; arc=none smtp.client-ip=209.85.221.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--elver.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="20xkXXuA" Received: by mail-wr1-f74.google.com with SMTP id ffacd0b85a97d-431054c09e3so1156769f8f.0 for ; Fri, 19 Dec 2025 07:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1766159174; x=1766763974; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=GzqxblqNylMZssrhkzyYMNb717UQfTl85zNKlM2THvo=; b=20xkXXuAhACSentUBjEFwtAg+/OPXumpmh1MGs2zcpLZqfjv1WIaoHLMDEIQRb5C6e 6Ut7UPEwYmS+2PSh5nVQNlksCPgJQw0RlfkQCLkgbVCMeTZEw7vr7emat5d9X11CWuLc umHOgN4R5SlQPLCelwmxJ9vdMZvDRxwpqIz1R6sM4FTSLz4efpjOQy0wOL3QeR/wrm1q XYcpBUDNRp5lF3JOLl/xMeYkxYxfhRelWta1hCs1Z264sjy0M2vzrI1Pw9PD5zY6r7L1 J+o/Zluws6fXB1GFwNEBgFTidsvdF5EfX90lrvitpLRo/7rBexsfGp51lTW5wWYu9tiP 5QdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766159174; x=1766763974; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GzqxblqNylMZssrhkzyYMNb717UQfTl85zNKlM2THvo=; b=pZ/hVKw1mEf9nuM3Cu8oXme4LmLz+jrHuZWiSNz23HLhn/en7n5cVvY0UAX+QmG9mj F5rxAprxDoxTvYk6gbhFYmEM6KUEFfKZNQ6fFtJG4RYr59WL6gyeq8cHAaL2WRz0RZwl j5jMgGLjxcWVGV9tOw598zvOKFMIgscs3bVjQExpW2JS8vR0q4Wv6rv48bb5sCM3kGcs 28FswmURVDJMoj2+1OjdwZgHvCEAq4XqhlE/+QviBg0ew5e0Q6TPMPH547tCK4Yz/7N+ 1V/234anK3T/W5UK7dnBVL0NInKCWqJdJJk9nyBHfC05FzudPeNBVMsA6sp0WH+MpAwv B/yQ== X-Forwarded-Encrypted: i=1; AJvYcCW88zmQsi4kkrFKZFiuS6sLlcIUF8J65dEgaB732+uSPmf6VtjL10MV+uwOKlg/bSLdcZprR+8cCFB9YJU=@vger.kernel.org X-Gm-Message-State: AOJu0YzHqKm1HTqNiWw40nbAtU9kJmFUyfzN38SSllVqCV9AGnEinqIr tCi6N8eIKkm64bc/00hmadvULWFVqbRoqLAdQ2pxH+xWuPhly5PM/vlx2vfvK0dxYOlcEQx3wk9 sXA== X-Google-Smtp-Source: AGHT+IFDBzha0VLOsownpeE3/oX+GYClWE/LTUckt6t3nGkH3udhxqzAfrWi3SLQ1c5sHOt4XQ+QWDn3uQ== X-Received: from wmqn17.prod.google.com ([2002:a05:600c:4f91:b0:47d:1d7a:6d40]) (user=elver job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:c494:b0:479:35e7:a0e3 with SMTP id 5b1f17b1804b1-47d19582aacmr29774555e9.30.1766159173561; Fri, 19 Dec 2025 07:46:13 -0800 (PST) Date: Fri, 19 Dec 2025 16:40:01 +0100 In-Reply-To: <20251219154418.3592607-1-elver@google.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251219154418.3592607-1-elver@google.com> X-Mailer: git-send-email 2.52.0.322.g1dd061c0dc-goog Message-ID: <20251219154418.3592607-13-elver@google.com> Subject: [PATCH v5 12/36] bit_spinlock: Include missing From: Marco Elver To: elver@google.com, Peter Zijlstra , Boqun Feng , Ingo Molnar , Will Deacon Cc: "David S. Miller" , Luc Van Oostenryck , Chris Li , "Paul E. McKenney" , Alexander Potapenko , Arnd Bergmann , Bart Van Assche , Christoph Hellwig , Dmitry Vyukov , Eric Dumazet , Frederic Weisbecker , Greg Kroah-Hartman , Herbert Xu , Ian Rogers , Jann Horn , Joel Fernandes , Johannes Berg , Jonathan Corbet , Josh Triplett , Justin Stitt , Kees Cook , Kentaro Takeda , Lukas Bulwahn , Mark Rutland , Mathieu Desnoyers , Miguel Ojeda , Nathan Chancellor , Neeraj Upadhyay , Nick Desaulniers , Steven Rostedt , Tetsuo Handa , Thomas Gleixner , Thomas Graf , Uladzislau Rezki , Waiman Long , kasan-dev@googlegroups.com, linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, linux-sparse@vger.kernel.org, linux-wireless@vger.kernel.org, llvm@lists.linux.dev, rcu@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Including into an empty TU will result in the compiler complaining: ./include/linux/bit_spinlock.h:34:4: error: call to undeclared function 'cpu_relax'; <...> 34 | cpu_relax(); | ^ 1 error generated. Include to allow including bit_spinlock.h where is not otherwise included. Signed-off-by: Marco Elver --- include/linux/bit_spinlock.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/bit_spinlock.h b/include/linux/bit_spinlock.h index c0989b5b0407..59e345f74b0e 100644 --- a/include/linux/bit_spinlock.h +++ b/include/linux/bit_spinlock.h @@ -7,6 +7,8 @@ #include #include +#include /* for cpu_relax() */ + /* * bit-based spin_lock() * -- 2.52.0.322.g1dd061c0dc-goog