Re: tp_smapi

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

 




> Timothy Murphy wrote:
> 
> > Timothy Murphy wrote:
> > 
> > Now I have downloaded the tp_smapi source from
> > 
> <http://sourceforge.net/projects/tpctl/files/tp_smapi/0.40/tp_smapi-0.40.tgz/download>
> > and compiled this,
> > and I seem to get the same error on my Thinkpad T60
> > as I got when running akmods with akmod-tp_smapi :

> This compiles for me now on replacing DECLARE_MUTEX by DEFINE_SEMAPHORE
> in thinkpad_ec.c and tp_smapi.c .

> I've installed it, but have no confidence I have done the right thing.

> 
> As far as I can see, DECLARE_MUTEX disappeared from the kernel 
> some time ago, so I don't see how this can have compiled recently.

-- 

Don't worry!  You have done the right thing.  If you want you can write conditional code, but that is at your discretion.  

http://www.mjmwired.net/kernel/Documentation/mutex-design.txt

http://fixunix.com/kernel/550131-%5Bpatch%5D-rename-declare_mutex-define_semaphore.html

I used it to fix a nonworking driver for a pctel winmodem 

https://porteus.org/forum/viewtopic.php?f=39&t=37

and got a big thanks by finding these changes so that the driver could compile.  The conditional code was incorporated and some warnings were fixed(code was cleaned up).  

http://linmodems.technion.ac.il/pctel-linux/welcome.html

Regards,

Antonio 
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux