Re: [PATCH 17/39] clobber rbx in putuser_64.S

From: Andi Kleen
Date: Sat Jun 28 2008 - 08:12:49 EST


Glauber Costa <gcosta@xxxxxxxxxx> writes:

> Instead of clobbering r8, clobber rbx, which is the i386 way.

Note rbx is callee saved on 64bit, so using that one means
the surrounding function always has to save explicitely.
Not the case with r8.

There's a reason it is the way it is.

-Andi
--
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/