Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: ftrace: Fix small notation mistake

The use of iff ("if and only if") notation is not accurate in this case.

Suggested-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Frank A. Cancio Bello <frank@generalsoftwareinc.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Link: https://lore.kernel.org/r/22f9a98a972c3155c7b478247a087a5efafde774.1577231751.git.frank@generalsoftwareinc.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Frank A. Cancio Bello and committed by
Jonathan Corbet
1209f45f 5b8914a6

+1 -1
+1 -1
Documentation/trace/ring-buffer-design.txt
··· 37 37 38 38 cmpxchg - hardware-assisted atomic transaction that performs the following: 39 39 40 - A = B iff previous A == C 40 + A = B if previous A == C 41 41 42 42 R = cmpxchg(A, C, B) is saying that we replace A with B if and only if 43 43 current A is equal to C, and we put the old (current) A into R