WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-merge

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

<Prev in Thread] Current Thread [Next in Thread>