Skip to content

Commit d26ef59

Browse files
authored
Fix wrong reference to READ_ONCE and WRITE_ONCE macro (#1)
The original 'include/linux/compiler.h' does not contain the definition of READ_ONCE and WRITE_ONCE macro. This commit replaces reference with the one to 'include/asm-generic/rwonce.h'.
1 parent 8fbedb6 commit d26ef59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concurrency-primer.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ \section{Atomic fusion}
12701270
macros for this exact purpose.\punckern\footnote{See
12711271
\href{https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4374.html}{\textsc{n}4374}
12721272
and the kernel's
1273-
\href{https://elixir.bootlin.com/linux/latest/source/include/linux/compiler.h}{\texttt{compiler.h}} for details.}
1273+
\href{https://elixir.bootlin.com/linux/latest/source/include/asm-generic/rwonce.h}{\texttt{rwonce.h}} for details.}
12741274
12751275
\section{Takeaways}
12761276

0 commit comments

Comments
 (0)