[Aboriginal] Sparc-32 doesn't work in 3.1.

David Miller davem at davemloft.net
Wed Dec 14 09:53:55 PST 2011


From: Sergei Trofimovich <slyich at gmail.com>
Date: Wed, 14 Dec 2011 20:42:25 +0300

>> ext4_kvmalloc:
> ...
>>         sethi  %hi(___i_page_kernel), %i2      !, tmp112
>>        call    __vmalloc, 0    !
>>         restore %i2, %lo(___i_page_kernel), %o2        ! tmp112,,
> ...
> 
> David: is this code correct? Or it's a compiler bug? I am sparc32 newbie.
> (C source and asm sources of function are in [1])

It is correct, it's a tail call.

 1323885235.0


More information about the Aboriginal mailing list