Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch

Module Name:    src
Committed By:   ad
Date:           Thu May 22 13:55:51 UTC 2008

Modified Files:
        src/sys/arch/amd64/include: cpu.h
        src/sys/arch/i386/include: cpu.h
        src/sys/arch/x86/include: cpu.h

Log Message:
Mark x86_curlwp() with __attribute__ ((const)), so gcc can CSE it and know
that it does not clobber global data.

To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 src/sys/arch/amd64/include/cpu.h
cvs rdiff -r1.174 -r1.175 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.4 -r1.5 src/sys/arch/x86/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index