lkml.org 
[lkml]   [2000]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Small fix for 2.4.0-test5, asm-alpha/fpu.h (cix extension)
On 1 Aug 2000, Claus-Justus Heine wrote:

>the "__asm__" in wrfpcr() is missing a "__volatile__" when
>__alpha_cix__ is defined. Otherwise gcc-2.95.2 optimizes the wrfpcr()
>away (in arch/alpha/kernel/osf_sys.c, have looked at the asm output of
>gcc).

Yes, that was a kernel bug and your patch sure fixes it. tmp was not
returned, it was local variable, so any side effect on it could be
discarded, and val was an input.

Thanks,
Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.040 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site