[illumos-Developer] [REVIEW] 780, 783, 784 gcc build fixes
ольга крыжановская
olga.kryzhanovska at gmail.com
Wed Mar 9 12:34:50 PST 2011
OK. LGTM.
Olga
2011/3/9 Richard Lowe <richlowe at richlowe.net>:
> 2011/3/9 ольга крыжановская <olga.kryzhanovska at gmail.com>:
>> +#if defined(__sparc)
>> + if ((cpr_sleeptype == CPR_TODISK &&
>> + !cpr_is_ufs(rootvfs) && !cpr_is_zfs(rootvfs)))
>> + return (ENOTSUP);
>> +#endif
>>
>> What will happen if the root file system is NFS but swap is on a local
>> disk? AFAIK this is a supported configuration on SPARC.
>
> It will return ENOTSUP, the same as it did before.
> I haven't changed the behaviour, I've just conditionalised the calls to
> match the definitions so we no longer rely on the behaviour of the
> optimizer.
>
> -- Rich
>
--
, _ _ ,
{ \/`o;====- Olga Kryzhanovska -====;o`\/ }
.----'-/`-/ olga.kryzhanovska at gmail.com \-`\-'----.
`'-..-| / http://twitter.com/fleyta \ |-..-'`
/\/\ Solaris/BSD//C/C++ programmer /\/\
`--` `--`
More information about the Developer
mailing list