diff -urN linux-2.6.5.old/init/Kconfig linux-2.6.5/init/Kconfig --- linux-2.6.5.old/init/Kconfig 2004-05-09 13:06:33.000000000 -0500 +++ linux-2.6.5/init/Kconfig 2004-05-09 14:43:04.929060072 -0500 @@ -218,6 +218,25 @@ This option enables access to kernel configuration file and build information through /proc/config.gz. +config IKPATCHES + bool "Kernel .patches support" + ---help--- + This option enables the kernel's ".patches" file to be saved in + the kernel. The .patches file is used to store important + information about patches that have been applied to the running + kernel's original source. The .patches data can be valuable + while troubleshooting and tracking down bugs. This information + can be extracted from the kernel image file with the script + scripts/extract-ikpatches. It can also be extracted from a + running kernel by reading /proc/patches.gz, if enabled (below). + +config IKPATCHES_PROC + bool "Enable access to .patches through /proc/patches.gz" + depends on IKPATCHES && PROC_FS + ---help--- + This option enables access to information about kernel patches + through /proc/patches.gz. + menuconfig EMBEDDED bool "Configure standard kernel features (for small systems)" diff -uN linux-2.6.5.old/.patches linux-2.6.5/.patches --- linux-2.6.5.old/.patches 1969-12-31 19:00:00.000000000 -0500 +++ linux-2.6.5/.patches 2004-05-09 15:20:24.304623240 -0500 @@ -0,0 +1,1 @@ +