Re: [2.6 patch] i386/power/cpu.c: remove three unused variables
From: H. Peter Anvin
Date: Tue Jan 18 2005 - 13:34:10 EST
Followup to: <20050117152727.GB1379@xxxxxxxxxx>
By author: Pavel Machek <pavel@xxxxxx>
In newsgroup: linux.dev.kernel
>
> Hi!
>
> > The patch below removes three unused variables.
> >
> > Please check whether this patch is correct, or whether the variables
> > should have been used.
>
> The patch is probably correct (assuming %eax, %ecx and %edx are
> caller-saved on i386. [Honza, please confirm... I do not know i386
> calling convention by heart.]
> Pavel
%eax, %ecx, %edx, the FPU stack, the fsw, the XMM registers, and the
arithmetric flags are caller-saved.
I *think* eflags.df is also caller-saved.
-hpa
-
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/