Skip to content

Instantly share code, notes, and snippets.

@luckylinux
luckylinux / aarch64-disable-neon.patch
Created March 17, 2024 15:55
aarch64-disable-neon.patch
Source: https://raw.githubusercontent.com/chimera-linux/cports/master/main/zfs/patches/aarch64-disable-neon.patch (no longer available)
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'kernel_neon_begin'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'kernel_neon_end'
There is no way around this so just disable all zfs kernel SIMD on aarch64
for the time being.
diff --git a/include/os/linux/kernel/linux/simd.h b/include/os/linux/kernel/linux/simd.h
index f4376b2..02f8110 100644