Message ID | 20240402132701.29744-4-richard.weiyang@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B6BFCD128D for <linux-mm@archiver.kernel.org>; Tue, 2 Apr 2024 13:27:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 835BC6B009B; Tue, 2 Apr 2024 09:27:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7BF086B009D; Tue, 2 Apr 2024 09:27:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 529506B009C; Tue, 2 Apr 2024 09:27:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 305A86B009B for <linux-mm@kvack.org>; Tue, 2 Apr 2024 09:27:25 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id E85C2405BB for <linux-mm@kvack.org>; Tue, 2 Apr 2024 13:27:24 +0000 (UTC) X-FDA: 81964668408.18.9F25CB0 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by imf25.hostedemail.com (Postfix) with ESMTP id 16A48A000D for <linux-mm@kvack.org>; Tue, 2 Apr 2024 13:27:22 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=CmvzRW2E; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf25.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.43 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712064443; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:dkim-signature; bh=B6ALcUhn3bkfonAFTQyhGpgkfckA9UhL/OB/3gO2UMI=; b=sk2QJj6x2yuqBwrZQn3i+3d3lvmAPIN4Mp5jHG8n9gOiKsNrgC1ih++ybjONWlEHV3x4oL 1wJWeGxJohhIzxkUaQgWMhbQvBtAGOsfm+Z+cbgcjjCJSVbz5tF+PERUIYbu89FtyRRvVq 8MX4WAz1Wnv20q3yR9SRlpIredg+MzY= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=CmvzRW2E; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf25.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.43 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712064443; a=rsa-sha256; cv=none; b=A57PnCEreOnc1wVBgzDSjYCk3nASuPa+s9HEgGxuCPXowJhRg2ZKj2Oq/Dc91u1PpkeMel dqrJ98pCcHj7kMqFPge1OOUzCUuqcZEShYV1Hsds94JuS1bbJCrgbpOVTkqRMKTSh7T1F8 CCtUTAODTmSGMYz0wZGXdjZDe2N+G9c= Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a4e60a64abcso330652566b.1 for <linux-mm@kvack.org>; Tue, 02 Apr 2024 06:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712064442; x=1712669242; darn=kvack.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=B6ALcUhn3bkfonAFTQyhGpgkfckA9UhL/OB/3gO2UMI=; b=CmvzRW2EBfn3OGmmuLXpiUrIN2lUqdZnab52BtJMbXA26Sgryafx1yiQhi0WnlS6L7 ncI+GSFkrKY+cXk2i55Ig2+JU6f+TMyn/hOWTqhA1SYEHxtX9/qR9D+s9G7On92fG6NG /yyamw4sQZ+KrQ59SFEXnpwWN2XMJCJVA2zBF+rMu1AYWUAgByYQxbwOpBDrM1DaOPET QlXI3CaX1v7M6w5T3q7hJxv4wY2f8K/g+svwyr5KeoteLJHds/yIOeDUoxV55PYKmhWh pu5aY8EUNbsT9FGYzFnW2c2MtUsXclROTAXd9eh19VVFPA57+C5fLmRgrbcDYspjszcF 6Ewg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712064442; x=1712669242; h=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=B6ALcUhn3bkfonAFTQyhGpgkfckA9UhL/OB/3gO2UMI=; b=qiB+psLH0HrmicLp+xc0uM7316D2bIIFBAiHTy7AFAP0RmFm9Rk4qB0mM/DLZRFiTB O+z//BAs5yMGcNWu7I7N1Pm3N16MNnVgcB0lI0xocMymhS9x4LyKHxZBiRDqepy5jZpD UwSKiC3kG3p39qecXZ1UaWvBLFhXoW8AM1NuhTSerAGxHugFPMYg8QHsekLOtH47rVFp zOZpjSEyc4gpeOgfI2vEs3owzXVGDQbWywqJdMpGkYYvHeXOsbsMgJ8azQzacV5dIqUt sz2MSKby1w7651GhIEI/mf0pUbqgwFbZOcI97jzOg/9gIaGW4bwhIJN6D0gTG3IbY4Nk v+2Q== X-Forwarded-Encrypted: i=1; AJvYcCVNvfXfEUVRmMAhyrsXxgf+bA7VSVobXgdJKlx6E3BMlNTsPHIKLofdWnKnWwypYNfh+Riy5zWPwyLhlbqurFWrtB0= X-Gm-Message-State: AOJu0Yxh0NqND45bZ2VU93SZiTJp1gYWaUyJUrVzjUj+KNVPN+GW6g9K kAB33CE7mzmIHzgfpwiM7gu9ikBUNipc0ST9w5xZLAj/HPq/EDb5 X-Google-Smtp-Source: AGHT+IFTabiMBzV2DetNy6rdQODxSmUfHTAHQgfA3KyyBQOMZScRczY67MoRnE4oSPyLwrU+ldb6Rw== X-Received: by 2002:a17:906:2892:b0:a4e:7d0e:f62d with SMTP id o18-20020a170906289200b00a4e7d0ef62dmr3372904ejd.13.1712064441572; Tue, 02 Apr 2024 06:27:21 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id lw7-20020a170906bcc700b00a4df01f4232sm6534084ejb.189.2024.04.02.06.27.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2024 06:27:21 -0700 (PDT) From: Wei Yang <richard.weiyang@gmail.com> To: akpm@linux-foundation.org, rppt@kernel.org, rongtao@cestc.cn Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Wei Yang <richard.weiyang@gmail.com>, Suren Baghdasaryan <surenb@google.com>, Michal Hocko <mhocko@suse.com> Subject: [PATCH 3/3] memblock tests: fix undefined reference to `BIT' Date: Tue, 2 Apr 2024 13:27:01 +0000 Message-Id: <20240402132701.29744-4-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20240402132701.29744-1-richard.weiyang@gmail.com> References: <20240402132701.29744-1-richard.weiyang@gmail.com> X-Rspamd-Queue-Id: 16A48A000D X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: innjj7hf38do1spyss5sxo3kdcxn4zay X-HE-Tag: 1712064442-653615 X-HE-Meta: U2FsdGVkX184bhiCM6D9aYX7iVspq6ffQDluKYICVYHb/81FCC+kS95/F9PJ5WPfSU4DE57S1Fp8F28+n+Nw0l+zdwVrI1cgR1uO12DE6FLytVDIxvCKSZ8UFxX9NL8Zm6HqvskQ4DYUGgCyMHAo0yDBhybi8HzAD6SQCxCxmKqzKQStYni21Sev4ollGq8BZKDhxnabz1IJiIGA2QrARJxVCvHO2WH99XC/FwSogBWwOMIURf5cqNAsoE6nyV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B5e79BaXrh9DKmSpGcfu67/Ep4uf4fzUBa5wGTRr3ZDmKYna0zYHx0SqrCA3UHiHjMTLYJEPNGXp3J5OmcVsp2Ic2b8DprrN1LFHv0OamB5UAzZZqJpcM0TGBEbYJ8VoUTO9Wx1Jg84Q6DtF8VpaGk+o59robSVige/BOA26TegzUWYkFiHkOn0G8i0AddSQfmbKl4rgnnE4fN/JwIKVVaQKEJQi5ccafdBh08U8ZptZxrIyaA7ts3Weu7pD3gP9c3Tg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.001160, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
memblock tests: fix build error
|
expand
|
diff --git a/include/linux/gfp_types.h b/include/linux/gfp_types.h index 868c8fb1bbc1..13becafe41df 100644 --- a/include/linux/gfp_types.h +++ b/include/linux/gfp_types.h @@ -2,6 +2,8 @@ #ifndef __LINUX_GFP_TYPES_H #define __LINUX_GFP_TYPES_H +#include <linux/bits.h> + /* The typedef is in types.h but we want the documentation here */ #if 0 /**
commit 772dd0342727 ("mm: enumerate all gfp flags") define gfp flags with the help of BIT, while gfp_types.h doesn't include header file for the definition. This through an error on building memblock tests. Let's include linux/bits.h to fix it. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> CC: Suren Baghdasaryan <surenb@google.com> CC: Michal Hocko <mhocko@suse.com> --- include/linux/gfp_types.h | 2 ++ 1 file changed, 2 insertions(+)