Subject: Re: Is __HAVE_RAS supposed to be used by userland?
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 01/11/2004 19:39:02
In article <20040111162832.GE602@drowsy.duskware.de>,
Martin Husemann <firstname.lastname@example.org> wrote:
>Simple question: we define __HAVE_RAS in <sys/types.h> if a $ARCH supports
>RAS. Actually, besides a few regression tests where I recently added it,
>nothing in userland tests __HAVE_RAS - AFAICT (and grep seems to agree).
>So I suggest to not export __HAVE_RAS to userland at all, and have
>everyone try rasctl() - which returns EOPNOTSUP if RAS is not available.
>Fixing the regression tests is easy.
>This would allow 32bit sparc64 kernels, which use sparc userland, to have
>full RAS support.
Yes, I think that would be a lot better.