Hello,

I'm trying to get Linux 2.2 sound drivers now, and I'm progressing. But
there is a symbol I'm unable to handle correctly, which is current_set.
From dev/include/linux/sched.h:
extern struct task_struct *current_set[NR_CPUS];
#define current (0+current_set[smp_processor_id()])     /* Current on this 
processor */

The symbol named current_set doesn't exist. It looks like code using the
macro named current is commented with #ifndef MACH ... #endif. My problem
is that the sound drivers I'm trying to build use it in many places. Should
I deactivate those parts ? Should they be replaced by a Mach specific call,
and which one ? The same issue rose for pcmcia implementation, and comments
by Stefan Siegl make me think he didn't fully solved the issue either.

-- 
Richard Braun

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to