Re: [PATCH] x86/hweight: Don't clobber %rdi

From: Linus Torvalds
Date: Mon Aug 08 2016 - 13:58:56 EST


On Mon, Aug 8, 2016 at 10:35 AM, <ville.syrjala@xxxxxxxxxxxxxxx> wrote:
> From: Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx>
>
> The caller expects %rdi to remain intact, push+pop it make that happen.

Indeed. Applied,

Linus