Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2022 15:10:23 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e7a86da0dbd2 - stable/13 - linuxkpi: io.h: Only exclude armv6 and armv7 for asm/set_memory.h
Message-ID:  <202209071510.287FANeY026183@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=e7a86da0dbd2a6fe3c49fe6145c7c0d5baac83df

commit e7a86da0dbd2a6fe3c49fe6145c7c0d5baac83df
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-08-08 18:21:08 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:04 +0000

    linuxkpi: io.h: Only exclude armv6 and armv7 for asm/set_memory.h
    
    Other arches like powerpc* needs it.
    
    Fixes:  d387a1b4b1996 ("linuxkpi: io.h: Do not include asm/set_memory.h for armv6 and armv7")
    Fixes:  789dbdbb48574 ("linuxkpi: Add arch_io_{reserve,free}_memtype_wc")
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit 521abc32e22a74981360aa5883bb383aea9ee243)
---
 sys/compat/linuxkpi/common/include/linux/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/io.h b/sys/compat/linuxkpi/common/include/linux/io.h
index 2705ea3a3ba9..6ee4753a2df5 100644
--- a/sys/compat/linuxkpi/common/include/linux/io.h
+++ b/sys/compat/linuxkpi/common/include/linux/io.h
@@ -38,7 +38,7 @@
 
 #include <linux/compiler.h>
 #include <linux/types.h>
-#if defined(__amd64__) || defined(__arm64__) || defined(__i386__) || defined(__riscv__)
+#if !defined(__arm__)
 #include <asm/set_memory.h>
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209071510.287FANeY026183>