aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2010-06-19 02:13:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2010-06-19 02:13:38 +0000
commit79f68964ace570c76ad0cbb8724680b97a4b743d (patch)
treeea55527d0f36168fcaa721a4f4f0a90a4b2c2366 /chapter08
parentf691ea8e5223e3fd27f9c2ef44a1f01e1c1442a7 (diff)
Add a sed to the kernel to prevent panics on some systems
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9300 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/kernel.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index d56cac861..80d7bac43 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -40,6 +40,12 @@
<sect2 role="installation">
<title>Installation of the kernel</title>
+ <para>First, fix a bug that causes a kernel panic on some systems:</para>
+
+<screen><userinput remap="pre">sed -i -e 's/inline void rdtsc_barrier/__always_inline void rdtsc_barrier/' \
+ arch/x86/include/asm/system.h</userinput></screen>
+
+
<para>Building the kernel involves a few steps&mdash;configuration,
compilation, and installation. Read the <filename>README</filename> file
in the kernel source tree for alternative methods to the way this book