Hi,

recently I saw a number of places in the uts/* that putting architecture
dependent code in the following way.

#ifndef __sparc
        x86 specific code
#endif

I found it a strange way of coding. There must be some explanation for
this style instead of usual

#ifdef __i386
        x86 specific code
#endif

Can someone elaborate, please.

See, for example
http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/vm/vm_page.c#1821

--
Regards,
        Cyril
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to