Re: [ANNOUNCE] v4.11.7-rt3

From: Bernhard Landauer
Date: Thu Jun 29 2017 - 05:57:14 EST


On 29/06/17 09:50, Sebastian Andrzej Siewior wrote:
On 2017-06-29 02:30:12 [+0200], Bernhard Landauer wrote:
I'm unable to compile the ndiswrapper extramodule against 4.11.7-rt3
I am surprised that this is still needed.

I get lots of errors of the kind

'struct task_struct' has no member named 'cpus_allowed'; did you mean
'nr_cpus_allowed'?

What can I do?
You should only need a read copy and ->cpus_ptr is for that.
ntoskernel.h has this:

#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)

so should it become:

#define tsk_cpus_allowed(tsk) ((tsk)->cpus_ptr)

?


kind regards
Bernhard
Sebastian