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

Re: [Xen-merge] Re: synch_bitops.h



>So AFAIK synch_bitops.h is equivilent to bitops.h with #defined  
>CONFIG_SMP
>
>Can't we use this somehow to reduce the amount of repeated code?

Sure, this would be possible. But would anyone like the to be added
conditionals (bitops.h has many more operations defined than
synch_bitops.h, and these would need to be disabled)? And similarly for
the need to alter the function names? At least from my experience,
adding a new file will have less resistance than cluttering an existing
one...

Jan

_______________________________________________
Xen-merge mailing list
Xen-merge@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-merge


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.