Message ID | 20240712035138.24674-2-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 D2A81C2BD09 for <linux-mm@archiver.kernel.org>; Fri, 12 Jul 2024 03:51:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C8CA36B00A0; Thu, 11 Jul 2024 23:51:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C3BD16B00A1; Thu, 11 Jul 2024 23:51:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B04946B00A2; Thu, 11 Jul 2024 23:51:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 964256B00A0 for <linux-mm@kvack.org>; Thu, 11 Jul 2024 23:51:46 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 49EAF408F0 for <linux-mm@kvack.org>; Fri, 12 Jul 2024 03:51:46 +0000 (UTC) X-FDA: 82329726612.12.D8AC6C1 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by imf02.hostedemail.com (Postfix) with ESMTP id 84AA980003 for <linux-mm@kvack.org>; Fri, 12 Jul 2024 03:51:44 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=U+5eEUbr; spf=pass (imf02.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.52 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1720756278; 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=YCFj880VNkxO0HYZD+OwyJox07xhsd/AqJTyvBPQ71U=; b=tej1nKogSFHHdtGm51tb/cjbDj3JMbHoylQ7Wq4NtedfHgaDJfcsSW95bzR3iFuZCFb0O6 45OeuAii7he8ufl1vRgLNQ0ar33J33nxr+xFiRQZCm8yncHHwEcVxwVi3K+RIkuNo0/wfu Ee4mJ0eMhXR2ShroQLu/SsudM+hVWzA= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=U+5eEUbr; spf=pass (imf02.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.52 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720756278; a=rsa-sha256; cv=none; b=MSbles43nKm6fAltIpRLi3oaMyZDCPZXc1Kwebu/cIvWRI7RMUuAL46LlAUdkcowvficxn 4oLKyom+63A/po4mC+2/tQmcDsSFe1JMsXH8Nor6gO3ZQq6CVL1NWhOvmUcoKr5ooacYKR /uR5aivpdmt00efgf3RhobJOHJJrPbU= Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a77c4309fc8so234723766b.3 for <linux-mm@kvack.org>; Thu, 11 Jul 2024 20:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720756303; x=1721361103; 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=YCFj880VNkxO0HYZD+OwyJox07xhsd/AqJTyvBPQ71U=; b=U+5eEUbrVAs7EdmPOq4fKGNqDay9NvbnAdJSHAAgDuxw5Q3oQruPflNh+lmy7kakdp H9PQdWCyYNBy6d8to5YIfW97qoNqaQXANcNMO9Jq5h52Bp7GY0xZbst6U/W9JObwSqY+ sgxge2iYZIkE6fRDSFuwdwxIEK/ZJz+x0AOzijm6sxn64Z/x6d8AWSONNWnbaaULsiEI QHfxhepH+o5QHOjpJhgvHTrQqDC0kmUFWEAoxy9Jlf25tuiLR0Dx+LrBOTJ5eP2M65fK 5cj4kQNLi77we8R+uxAv56w6wU2GXbeTaiTic+j8hQ5Rd1Pj05J6IGhkgaGQ4BRsFbLV n0eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720756303; x=1721361103; 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=YCFj880VNkxO0HYZD+OwyJox07xhsd/AqJTyvBPQ71U=; b=qK9Uw0vWBt1K/rpfixiybAI0EcRExhupNgJhKLToWBV6zxRV7ZIoXTHpDIgUiavVsd T8yS3/wSxWrgfMbhYHG+e3ttHVqOHaqb+xFDE9D/4gSc7jWqEIetJCUcOK1bFhczBjwy bArLvI5KA9Z7HMGWZTb55YdPFg0hgApo0TAIYTO00PjdnljiMQ6dy1nMA1rfuSbhb0ZE swCV2XOt2gfbGRJMMy5eKix6aEK5XFkvMMsrgmeD+S5Nmku9p9FMvnz1JHZm2j546k4C 6v6e+wbCIlriDHp+YkK+UzegYx9d4EyboNsn9mus875SlVOc5A4hAhg09bVmic4lNL/0 nvRQ== X-Forwarded-Encrypted: i=1; AJvYcCXx4Zf5jkwWS/gmlwqKwexXzgsULsuZKv5+RaHnV/P+6RPHv1oeWBCvvc2TU/wdkE4iA1q5BzvI3swZdSiau+t654U= X-Gm-Message-State: AOJu0YycRADCRP8U09FcLvhz4ncnj0bhGH8/Oa6FJrBwd/hX/i6FJzhD uqo+eeuL0i/pClo8f/gSDk+9KYmnbc9OEIP0E7egYCvTyGBU5G4z X-Google-Smtp-Source: AGHT+IGU42SFOUlzrj7kRRzHWCymLPr+3FJfHb34KI045J585sywpXTtKt3Z7zk2SYVEJATzJEXU4Q== X-Received: by 2002:a17:906:260f:b0:a77:c364:c4e9 with SMTP id a640c23a62f3a-a780b705312mr604819766b.45.1720756302841; Thu, 11 Jul 2024 20:51:42 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a7ff0bbsm303491266b.119.2024.07.11.20.51.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jul 2024 20:51:41 -0700 (PDT) From: Wei Yang <richard.weiyang@gmail.com> To: rppt@kernel.org, willy@infradead.org, Liam.Howlett@oracle.com, will@kernel.org, broonie@kernel.org, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Wei Yang <richard.weiyang@gmail.com> Subject: [PATCH 2/3] memblock tests: include export.h in linkage.h as kernel dose Date: Fri, 12 Jul 2024 03:51:37 +0000 Message-Id: <20240712035138.24674-2-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20240712035138.24674-1-richard.weiyang@gmail.com> References: <20240712035138.24674-1-richard.weiyang@gmail.com> X-Stat-Signature: cw9aqgpgwno6yg9ewjftifazi3a98t9h X-Rspam-User: X-Rspamd-Queue-Id: 84AA980003 X-Rspamd-Server: rspam02 X-HE-Tag: 1720756304-77242 X-HE-Meta: U2FsdGVkX19z8NKF7neOB0cskBziLpulMMG9GYi2UAbPA6m9Y7KJElacTIuTCLiJgWXNHWxGx/0GcGgUewqLoi1Epqb/cJIvYQQM1E2UCKtj3lOogNtJPtCZgYd+qEkEDp+wghZBz6ew2Vf6qguxyf2cvMyk6FiCrzIioByNHpL03ZQbGmKhgKqI8dKLzl1kWkFoXNoDvlEwKvSjqPSVf64j7laO5MB9iLjuTpcBhzg38HEIrdPwT01Ga7hekNHi8MPynxmJv0FUlqDPCGKt9LuR/kisw+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OFZ8BI+/Ii1KiJ699vPPoAM49UHzvy74WWimtnk2J11FEmd6MXda+hH+PpvIf8/QKNjOC03Du2wdbUyho050ytvqvJseYgG+K0qDDdDw0k5F/N6 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, 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 |
[1/3] memblock tests: include memory_hotplug.h in mmzone.h as kernel dose
|
expand
|
diff --git a/tools/include/linux/linkage.h b/tools/include/linux/linkage.h index bc763d500262..20dee24d7e1b 100644 --- a/tools/include/linux/linkage.h +++ b/tools/include/linux/linkage.h @@ -1,4 +1,6 @@ #ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H #define _TOOLS_INCLUDE_LINUX_LINKAGE_H +#include <linux/export.h> + #endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */ diff --git a/tools/testing/memblock/linux/init.h b/tools/testing/memblock/linux/init.h index 4aeddce53310..bd74abc5cba6 100644 --- a/tools/testing/memblock/linux/init.h +++ b/tools/testing/memblock/linux/init.h @@ -3,7 +3,6 @@ #define _LINUX_INIT_H #include <linux/compiler.h> -#include <asm/export.h> #define __section(section) __attribute__((__section__(section)))
In kernel code, linkage.h includes export.h. Let's sync with kernel. This is a preparation for move init.h in common include directory. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> CC: Mike Rapoport <rppt@kernel.org> --- tools/include/linux/linkage.h | 2 ++ tools/testing/memblock/linux/init.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)