Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57aecae9 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

documentation: Fix variable-name typo in memory-barriers.txt

parent 297f7399
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -746,7 +746,7 @@ You must also be careful not to rely too much on boolean short-circuit
evaluation.  Consider this example:
evaluation.  Consider this example:


	q = READ_ONCE_CTRL(a);
	q = READ_ONCE_CTRL(a);
	if (a || 1 > 0)
	if (q || 1 > 0)
		ACCESS_ONCE(b) = 1;
		ACCESS_ONCE(b) = 1;


Because the first condition cannot fault and the second condition is
Because the first condition cannot fault and the second condition is