From patchwork Mon Sep 9 07:05:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 13796928 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC55FECE58E for ; Mon, 9 Sep 2024 12:37:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C204510E531; Mon, 9 Sep 2024 12:36:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NkADhmHX"; dkim-atps=neutral Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50D2810E2F0; Mon, 9 Sep 2024 07:08:47 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-374b9761eecso2644740f8f.2; Mon, 09 Sep 2024 00:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725865726; x=1726470526; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=diK2vfMDlJNUyXW9lcHoHKMejPsgQZ2jk7i/6JqtmLQ=; b=NkADhmHXRiZHdCYG/rQTx8ist+R4MuuU0THUc4jX1ssXHYC7+ZKi5mvp+2gqCLq5Hd tA0I/JJZ9nO4gLJA8VsrR0NrXoiTg7J7oYcVe0Fd0yb+1UqUzhTNu9DMGv7sYso/nMfk cUU58AU1rs6AXQQt0Jc8GrlAK3X0YdE4GhQH1uPc4V9JK7GdV5A1uh8TuI3oBZ5xAbwh wpZ4r+v9dbA3ndXkmjFT2xemJprHTrMvgxgWxxGIJ1jkZOWW1hMBlBO/9GcFugRrK9Gk +99ni8/zIviZyrryKDjU9h9c59+jH49Gsi+hAtyCnsat+zdr9ASbG+iPWKY58pBv1Wee ve7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725865726; x=1726470526; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=diK2vfMDlJNUyXW9lcHoHKMejPsgQZ2jk7i/6JqtmLQ=; b=k6594kz3OrbvpJ9OQ/zr1i2kXW6UXRIqQprA7Ci12KO67+72KHYrBBIrEehEyC3VWe d8M/6f/Hon6uDRr0AO87zjud3KhAHCUyEyATZ0+g1lRekx0fcGEjWSYD13MGp4ETD3jJ MQOz0vh17KG413WnsWcfmp8IPbefZYGSgwoukXzyQ2GJUgqmGnjRCbSfTXcUYf345+AV a3ykYnrD2W+Xnfm0U49KOT6c8MBePoJhiFos9Vv29BPpF6a2jtz+9IBYgM9N0mkeFAXH AW5/VZRMn0qgFePEpxxdFAYYq+vkRnr9AxvkC65pGDbmpmIAZnptVSOcpEbCai1NQZKD ygBw== X-Forwarded-Encrypted: i=1; AJvYcCUra4i7QZ8JhF+Wy+xW32pukSrBt3EI8ylXgYcyp/l5Vd4n5FUZcom0v7vh29lgjMFuLY/JJfYG+x0=@lists.freedesktop.org, AJvYcCWidexnkttpFqj8x7NG4ZsK6LMOuA0RnLUOLDQZQlpU0h5ccvou0iPWhpMV7ncwqPYJL9Zzo7t91c5j@lists.freedesktop.org X-Gm-Message-State: AOJu0YxFSeRzrXMk1rCozNT/NOYxfm3DO6aqZT8FsRdpmyCsJcyNMwgg L4usAr37gB4g5EUqQnMYvCpvsh2fAtCGnUtVvtZqC0F5Nhbl0WPB X-Google-Smtp-Source: AGHT+IH7d2LCOjCEmuJ4w2L75gV8H1NZjK585Hq//GX1VCkES/VJ6SkCqMbky8lLj0QZa/YVXZoH6g== X-Received: by 2002:a05:6000:e51:b0:371:8f19:bff0 with SMTP id ffacd0b85a97d-378895cc423mr6510141f8f.20.1725865725676; Mon, 09 Sep 2024 00:08:45 -0700 (PDT) Received: from fedora.iskraemeco.si ([193.77.86.250]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956d375asm5178754f8f.66.2024.09.09.00.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 00:08:45 -0700 (PDT) From: Uros Bizjak To: x86@kernel.org, linux-crypto@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-fscrypt@vger.kernel.org, linux-scsi@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com Cc: Uros Bizjak , "Theodore Ts'o" , "Jason A. Donenfeld" , Kent Overstreet Subject: [PATCH v2 19/19] prandom: Include in Date: Mon, 9 Sep 2024 09:05:33 +0200 Message-ID: <20240909070742.75425-20-ubizjak@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240909070742.75425-1-ubizjak@gmail.com> References: <20240909070742.75425-1-ubizjak@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 09 Sep 2024 12:36:55 +0000 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" include was removed from in d9f29deb7fe8 ("prandom: Remove unused include") because this inclusion broke arm64 due to a circular dependency on include files. __percpu tag is defined in include/linux/compiler_types.h, so there is currently no direct need for the inclusion of . However, in [1] we would like to repurpose __percpu tag as a named address space qualifier, where __percpu macro uses defines from . The circular dependency was removed in xxxxxxxxxxxx ("random: Do not include in ") and it cleared the path for the inclusion of in . This patch is basically a revert of d9f29deb7fe8 ("prandom: Remove unused include"). [1] https://lore.kernel.org/lkml/20240812115945.484051-4-ubizjak@gmail.com/ Signed-off-by: Uros Bizjak Cc: "Theodore Ts'o" Cc: "Jason A. Donenfeld" Cc: Kent Overstreet --- include/linux/prandom.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/prandom.h b/include/linux/prandom.h index f7f1e5251c67..f2ed5b72b3d6 100644 --- a/include/linux/prandom.h +++ b/include/linux/prandom.h @@ -10,6 +10,7 @@ #include #include +#include #include struct rnd_state {