bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current_set symbol in GNU Mach


From: Jose Luis Alarcon Sanchez
Subject: Re: current_set symbol in GNU Mach
Date: Mon, 14 Aug 2006 23:30:15 +0200

On Mon, 2006-08-14 at 22:55 +0200, Richard Braun wrote:
> 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.
> 

Hi Richard.

If you don't want "deactivate" those parts... Can't you "create" in any
way a empty symbol named current_set that match with the symbol the
driver wants?. It this possible?.

Thanks for your work.

Regards.

Jose.


-- 
http://www.lordofunix.org/

Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories..... You are talking about memories. 
Rick Deckard. Blade Runner.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]