mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 08:44:33 +00:00
Remove misleading comment in pte.h. MIPS PTE entries are software managed
and does not need atomics. Submitted by: alc
This commit is contained in:
parent
1ece82b487
commit
f936972752
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211991
|
@ -130,9 +130,6 @@ typedef pt_entry_t *pd_entry_t;
|
|||
|
||||
/*
|
||||
* PTE management functions for bits defined above.
|
||||
*
|
||||
* XXX Can make these atomics, but some users of them are using PTEs in local
|
||||
* registers and such and don't need the overhead.
|
||||
*/
|
||||
#define pte_clear(pte, bit) (*(pte) &= ~(bit))
|
||||
#define pte_set(pte, bit) (*(pte) |= (bit))
|
||||
|
|
Loading…
Reference in a new issue