Released on Wed, 28 Dec 2005 22:08:51 -0800
sparc64 fix stat()

I've investigated the sparc stat() klibc problem a bit and found that the
definition of 'struct stat' in klibc's include/arch/sparc64/archstat.h is
(most probably) incorrect. I've written a simple test case using stat()
function and then looked at preprocessed source, which includes the
'struct stat' definition (from glibc headers) and copied that to
include/arch/sparc64/archstat.h. That required changing the storage size
for some fields, rearranging them, and adding some padding fields where
neccessary. Attached patch implements these changes.

With this change I was able to successfully boot my ultra5 box.

Signed-off-by: maximilian attems <maks@sternwelten.at>
1 file changed