Source-Changes archive

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

CVS commit: src/sys/external/bsd/drm2/include/linux



Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 01:45:38 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/include/linux: nospec.h

Log Message:
Fix mistake in array_index_nospec.

j must be constrained to be in the same register on input or output;
otherwise the compiler may put them in different places, expect the
asm code to write to the output register, and read garbage from the
output register when we fail to put anything there.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/include/linux/nospec.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