[ Next-in-Thread ]  [ Next Message ] 

Ok: Untitled 

Forum: Non-x86 PCMCIA Issues
Re: Question: spinlock compile problem on ppc (Michael Baer)
Date: 1999, Nov 27
From: Tsuneya Watabe watabe

In linuxppc list, a few ideas to solve this problem were posted and 
the modification suggested by Dean Takemori as shown below worked 
fine with pcmcia-cs build under kernel 2.2.13. I hope David will consider 
this issue on the future release of pcmcia-cs.

In include/pcmcia/k_compat.h (from pcmcia-cs source):

change the lines below: 

from: 

#if defined(CONFIG_SMP) || (LINUX_VERSION_CODE > VERSION(2,3,6)) || 
  (defined(__ppc__) && (LINUX_VERSION_CODE > VERSION(2,2,12)))

to:

#if defined(CONFIG_SMP) || (LINUX_VERSION_CODE > VERSION(2,3,6)) || 
  (defined(__powerpc__) && (LINUX_VERSION_CODE > VERSION(2,2,12)))

Tsuneya Watabe (twatabe@shore.net)

[ Next-in-Thread ]  [ Next Message ] 

[ Add Message ]  to: "Untitled"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]