[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
current_set symbol in GNU Mach
From: |
Richard Braun |
Subject: |
current_set symbol in GNU Mach |
Date: |
Mon, 14 Aug 2006 22:55:15 +0200 |
User-agent: |
Mutt/1.5.9i |
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
signature.asc
Description: Digital signature
- current_set symbol in GNU Mach,
Richard Braun <=