aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-01-16 22:40:55 -0500
committerJonathan Corbet <corbet@lwn.net>2018-01-17 18:45:01 -0500
commit423860a65ae54fa1fbd3abb224bdc62124dcdb90 (patch)
treecb2181d810f6f2b1297077bc33795b3851af3464
parent36bde81e23d234e46d2132057dfb931b4bd74cf4 (diff)
Documentation: Fix misconversion of #if
At some stage of the conversion pipeline, something thought that the DocBook entity &num; should be rendered as NUM instead of #. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/kernel-hacking/hacking.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index 5192d7f78eca..9999c8468293 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -690,8 +690,8 @@ not provide the necessary runtime environment and the include files are
690not tested for it. It is still possible, but not recommended. If you 690not tested for it. It is still possible, but not recommended. If you
691really want to do this, forget about exceptions at least. 691really want to do this, forget about exceptions at least.
692 692
693NUMif 693#if
694----- 694---
695 695
696It is generally considered cleaner to use macros in header files (or at 696It is generally considered cleaner to use macros in header files (or at
697the top of .c files) to abstract away functions rather than using \`#if' 697the top of .c files) to abstract away functions rather than using \`#if'