git: a440b544d566 - main - zfs: remove inclusion of machine/pcpu.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Mar 2025 16:52:52 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/src/commit/?id=a440b544d566a91fb0e869e3f3828081c3763f94
commit a440b544d566a91fb0e869e3f3828081c3763f94
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-03-28 16:51:08 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-03-28 16:51:08 +0000
zfs: remove inclusion of machine/pcpu.h
It was necessary in the beginning for a definition of curthread,
but in the later versions of the patch turned out to be not needed.
Fixes: 5b02365ac656e1cccf293ec1c57a8eb6c5cd51e2
Reported by: mav
---
sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
index 48b90ecc9cc2..0be9257e40cb 100644
--- a/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
+++ b/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd_powerpc.h
@@ -44,8 +44,6 @@
#ifndef _FREEBSD_SIMD_POWERPC_H
#define _FREEBSD_SIMD_POWERPC_H
-#include <machine/pcpu.h>
-
#include <sys/types.h>
#include <sys/cdefs.h>