* + riscv-include-asm-cacheflushh-in-asm-hugetlbh.patch added to mm-unstable branch
@ 2023-08-14 19:33 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-08-14 19:33 UTC (permalink / raw)
To: mm-commits, will, palmer, mike.kravetz, linux, catalin.marinas,
hughd, akpm
The patch titled
Subject: riscv: include asm/cacheflush.h in asm/hugetlb.h
has been added to the -mm mm-unstable branch. Its filename is
riscv-include-asm-cacheflushh-in-asm-hugetlbh.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/riscv-include-asm-cacheflushh-in-asm-hugetlbh.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Hugh Dickins <hughd@google.com>
Subject: riscv: include asm/cacheflush.h in asm/hugetlb.h
Date: Sun, 13 Aug 2023 21:53:57 -0700 (PDT)
PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h:
builds rely on an accident of that being included via linux/mempolicy.h,
but better include it directly (like arch/sh/include/asm/hugetlb.h does).
Link: https://lkml.kernel.org/r/84bd3b96-8dbe-51b1-d7d1-6e4f9d8937d8@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/riscv/include/asm/hugetlb.h | 1 +
1 file changed, 1 insertion(+)
--- a/arch/riscv/include/asm/hugetlb.h~riscv-include-asm-cacheflushh-in-asm-hugetlbh
+++ a/arch/riscv/include/asm/hugetlb.h
@@ -2,6 +2,7 @@
#ifndef _ASM_RISCV_HUGETLB_H
#define _ASM_RISCV_HUGETLB_H
+#include <asm/cacheflush.h>
#include <asm/page.h>
static inline void arch_clear_hugepage_flags(struct page *page)
_
Patches currently in -mm which might be from hughd@google.com are
arm-include-asm-cacheflushh-in-asm-hugetlbh.patch
arm64-include-asm-cacheflushh-in-asm-hugetlbh.patch
riscv-include-asm-cacheflushh-in-asm-hugetlbh.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-14 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 19:33 + riscv-include-asm-cacheflushh-in-asm-hugetlbh.patch added to mm-unstable branch Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.