Lines 40-45
Link Here
|
40 |
/*=* [DBG] For RedHat7.3 insert kernel module has unresolved symbol |
40 |
/*=* [DBG] For RedHat7.3 insert kernel module has unresolved symbol |
41 |
cmpxchg() *=*/ |
41 |
cmpxchg() *=*/ |
42 |
|
42 |
|
|
|
43 |
#if 0 /* this is cmpxchg is defined in drpP.h */ |
44 |
|
43 |
/* Include this here so that driver can be used with older kernels. */ |
45 |
/* Include this here so that driver can be used with older kernels. */ |
44 |
#ifndef __HAVE_ARCH_CMPXCHG |
46 |
#ifndef __HAVE_ARCH_CMPXCHG |
45 |
|
47 |
|
Lines 145-149
Link Here
|
145 |
((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o), \ |
147 |
((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o), \ |
146 |
(unsigned long)(n),sizeof(*(ptr)))) |
148 |
(unsigned long)(n),sizeof(*(ptr)))) |
147 |
#endif /* i386 & alpha */ |
149 |
#endif /* i386 & alpha */ |
148 |
#endif |
150 |
#endif /* __HAVE_ARCH_CMPXCHG */ |
|
|
151 |
#endif /* 0 */ |
149 |
#endif |
152 |
#endif |