From 79f68964ace570c76ad0cbb8724680b97a4b743d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 19 Jun 2010 02:13:38 +0000 Subject: 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 --- chapter08/kernel.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chapter08') 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 @@ Installation of the kernel + First, fix a bug that causes a kernel panic on some systems: + +sed -i -e 's/inline void rdtsc_barrier/__always_inline void rdtsc_barrier/' \ + arch/x86/include/asm/system.h + + Building the kernel involves a few steps—configuration, compilation, and installation. Read the README file in the kernel source tree for alternative methods to the way this book -- cgit v1.2.3-54-g00ecf