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

Commit 291b9d73 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Jonathan Corbet
Browse files

Improve sparse documentation



Add documentation of -DCONFIG_SPARSE_RCU_POINTER.
I started to add documentation of -D__CHECK_ENDIAN__ as well, but
discovered I'm too late; that's now enabled by default.

Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent c33dea1e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -103,3 +103,9 @@ have already built it.

The optional make variable CF can be used to pass arguments to sparse.  The
build system passes -Wbitwise to sparse automatically.

Checking RCU annotations
~~~~~~~~~~~~~~~~~~~~~~~~

RCU annotations are not checked by default.  To enable RCU annotation
checks, include -DCONFIG_SPARSE_RCU_POINTER in your CF flags.