[packages/kernel/LINUX_4_4] Revert another breaking patch from cip kernel

arekm arekm at pld-linux.org
Wed Oct 18 23:15:09 CEST 2023


commit fed0d05e262f40272970fd71e5f05efc0639411e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 18 23:14:48 2023 +0200

    Revert another breaking patch from cip kernel

 kernel-small_fixes.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index 8e5f6b25..588e52c1 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -74,3 +74,18 @@ diff -urNp -x '*.orig' linux-4.4/scripts/mod/modpost.c linux-4.4/scripts/mod/mod
  	dd->synth_stats_timer.data = 0;
  	ppd = (struct hfi1_pportdata *)(dd + 1);
  	for (i = 0; i < dd->num_pports; i++, ppd++) {
+--- b/arch/x86/kernel/apm_32.c
++++ a/arch/x86/kernel/apm_32.c
+@@ -245,6 +245,12 @@
+ extern int (*console_blank_hook)(int);
+ #endif
+ 
++/*
++ * The apm_bios device is one of the misc char devices.
++ * This is its minor number.
++ */
++#define	APM_MINOR_DEV	134
++
+ /*
+  * Various options can be changed at boot time as follows:
+  * (We allow underscores for compatibility with the modules code)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/fed0d05e262f40272970fd71e5f05efc0639411e



More information about the pld-cvs-commit mailing list