Re: Sparc-32 doesn't work in 3.1.

From: David Miller
Date: Wed Dec 14 2011 - 12:54:08 EST


From: Sergei Trofimovich <slyich@xxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/