Spell _KERNEL correctly so that UP kernels are actually optimized again.
Submitted by: pjd
This commit is contained in:
parent
bd2ed154a1
commit
90baa95fad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137623
@ -172,7 +172,7 @@ atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src)
|
||||
|
||||
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
|
||||
|
||||
#if defined(KERNEL) && !defined(SMP)
|
||||
#if defined(_KERNEL) && !defined(SMP)
|
||||
|
||||
/*
|
||||
* We assume that a = b will do atomic loads and stores. However, on a
|
||||
|
Loading…
Reference in New Issue
Block a user