git: ffd21bd2892d - main - Make ISA_206_ATOMICS a kernel option

Justin Hibbits jhibbits at FreeBSD.org
Mon May 17 13:47:57 UTC 2021


The branch main has been updated by jhibbits:

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

commit ffd21bd2892df271a8a259b1d98ce81c8637facd
Author:     Justin Hibbits <jhibbits at FreeBSD.org>
AuthorDate: 2021-05-17 13:46:33 +0000
Commit:     Justin Hibbits <jhibbits at FreeBSD.org>
CommitDate: 2021-05-17 13:46:38 +0000

    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 857fa8091f4a..463c2b9da8c7 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


More information about the dev-commits-src-main mailing list