From ffd21bd2892df271a8a259b1d98ce81c8637facd Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Mon, 17 May 2021 08:46:33 -0500 Subject: [PATCH] Make ISA_206_ATOMICS a kernel option Summary: To make it easier to build a kernel with PowerISA 2.06 atomics (sub-word atomics), add a kernel config option. User space still needs to specify it as a CFLAG but that seems easier to do than for the kernel config. Reviewed By: luporl Differential Revision: https://reviews.freebsd.org/D29809 --- sys/conf/options.powerpc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/conf/options.powerpc b/sys/conf/options.powerpc index 857fa8091f4..463c2b9da8c 100644 --- a/sys/conf/options.powerpc +++ b/sys/conf/options.powerpc @@ -15,6 +15,8 @@ FPU_EMU COMPAT_FREEBSD32 opt_global.h +ISA_206_ATOMICS opt_global.h + MOEA64_STATS opt_pmap.h AMIGAONE opt_platform.h MIKROTIK opt_platform.h