git: 54a94356c90e - stable/14 - zfs: remove inclusion of machine/pcpu.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Apr 2025 20:58:57 UTC
The branch stable/14 has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/src/commit/?id=54a94356c90ea5be276568c9c7d0696360ab9242
commit 54a94356c90ea5be276568c9c7d0696360ab9242
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-03-28 16:51:08 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-04-04 20:58:18 +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
(cherry picked from commit a440b544d566a91fb0e869e3f3828081c3763f94)
---
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 6d8503196050..608122d9d135 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
@@ -43,8 +43,6 @@
#ifndef _FREEBSD_SIMD_POWERPC_H
#define _FREEBSD_SIMD_POWERPC_H
-#include <machine/pcpu.h>
-
#include <sys/types.h>
#include <sys/cdefs.h>