Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > 45e4f5da4952e351d997dd2c88575427 > files > 6

kernel-5.3.2-1.mga7.src.rpm


Adjust for this change in 5.3:

commit 3bd3706251ee8ab67e69d9340ac2abdca217e733
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date:   Tue Apr 23 16:26:36 2019 +0200

    sched/core: Provide a pointer to the valid CPU mask

Signed-off-by: Thomas Backlund <tmb@mageia.org>

diff -urp 3rdparty/ndiswrapper.orig/ntoskernel.h 3rdparty/ndiswrapper/ntoskernel.h
--- linux/3rdparty/ndiswrapper.orig/ntoskernel.h	2019-09-25 00:22:52.960089292 +0300
+++ linux/3rdparty/ndiswrapper/ntoskernel.h	2019-09-25 00:36:29.496056734 +0300
@@ -110,7 +110,7 @@ static cpumask_t cpumasks[NR_CPUS];
 #endif /* CONFIG_SMP */
 
 #ifndef tsk_cpus_allowed
-#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
+#define tsk_cpus_allowed(tsk) (tsk->cpus_ptr)
 #endif
 
 #ifndef __packed