Source-Changes archive

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

CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux



Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 03:28:09 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: kernel.h

Log Message:
Fix up some bit-hacking and pointer-futzing in <linux/kernel.h>.

- Avoid C arithmetic pitfalls and multiple evaluatoin in round_up.
- Add round_down.
- Explain why upper_32_bits and lower_32_bits exist.
- Explain what container_of does.


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