[bootlin/training-materials updates] master: Add Elixir macro for kernel parameter definitions (3113f5fa)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed May 27 11:06:33 CEST 2020


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/3113f5fa24848d9423e5cb0e52fb95fbc8dbc5cc

>---------------------------------------------------------------

commit 3113f5fa24848d9423e5cb0e52fb95fbc8dbc5cc
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed May 27 11:06:33 2020 +0200

    Add Elixir macro for kernel parameter definitions
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

3113f5fa24848d9423e5cb0e52fb95fbc8dbc5cc
 common/common.sty                                  | 1 +
 slides/sysdev-device-files/sysdev-device-files.tex | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/common.sty b/common/common.sty
index d88421f6..c32452a3 100644
--- a/common/common.sty
+++ b/common/common.sty
@@ -14,6 +14,7 @@
 \newcommand\kdir[1]{\projdir{linux}{#1}}
 \newcommand\kreldir[2]{\href{https://elixir.bootlin.com/linux/latest/source/#1/#2}{\code{#2/}}} % For relative directory paths
 \newcommand\ksubarch[1]{\href{https://elixir.bootlin.com/linux/latest/source/arch/#1/}{\code{#1}}}
+\newcommand\kconfig[1]{\href{https://elixir.bootlin.com/linux/latest/K/ident/#1}{\code{#1}}}
 \newcommand\kerneldoctext[1]{\href{https://kernel.org/doc/Documentation/#1}{\code{Documentation/#1}}}
 \newcommand\kerneldochtml[1]{\href{https://www.kernel.org/doc/html/latest/#1.html}{\code{#1}}}
 \newcommand\kerneldochtmlsection[3]{\href{https://www.kernel.org/doc/html/latest/#1/index.html\##2}{\code{#1} (section {\em #3})}}
diff --git a/slides/sysdev-device-files/sysdev-device-files.tex b/slides/sysdev-device-files/sysdev-device-files.tex
index f191d00d..caeeabc5 100644
--- a/slides/sysdev-device-files/sysdev-device-files.tex
+++ b/slides/sysdev-device-files/sysdev-device-files.tex
@@ -58,7 +58,7 @@ close(fd);
     \end{itemize}
   \item The \code{devtmpfs} virtual filesystem can be mounted on
     \code{/dev} and contains all the devices known to the kernel.
-    The \code{CONFIG_DEVTMPFS_MOUNT} kernel configuration option
+    The \kconfig{CONFIG_DEVTMPFS_MOUNT} kernel configuration option
     makes the kernel mount it automatically at boot time, except
     when booting on an initramfs.
   \end{itemize}




More information about the training-materials-updates mailing list