|
Re: Просьба включить патч BadRam в el5 ядро [message #20886 is a reply to message #20798] |
Thu, 27 September 2007 12:18 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
gblond
Messages: 64 Registered: May 2007
|
Member |
|
|
Патч накладывается без проблем. Далее (т.к. ядро компилится с опцией -Werror-implicit-function-declaration) добавляем в include/linux/kernel.h объявление функции get_longoptions():
<<<<<<<<<<
--- kernel-2.6.18-test_badram/include/linux/kernel.h.orig 2007-09-27 11:43:23.000000000 +0400
+++ kernel-2.6.18-test_badram/include/linux/kernel.h 2007-09-27 11:44:02.000000000 +0400
@@ -130,6 +130,7 @@ extern int vsscanf(const char *, const c
extern int get_option(char **str, int *pint);
extern char *get_options(const char *str, int nints, int *ints);
+extern char *get_longoptions(const char *str, int nlongs, long *longs);
extern unsigned long long memparse(char *ptr, char **retptr);
extern int core_kernel_text(unsigned long addr);
<<<<<<<<<<<
|
|
|