git: drm: Define BITS_PER_LONG

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Oct 13 08:22:34 PDT 2013


commit 7a246dd9f3285b1955a0c85d9f0e440b001eb941
Author: Jean-Sébastien Pédron <jean-sebastien.pedron at dumbbell.fr>
Date:   Sat Sep 7 11:43:36 2013 +0200

    drm: Define BITS_PER_LONG
    
    At the same time, rename a macro of the same name in drm_atomic.h. They
    both have the same meaning but the one in drm_atomic.h uses sizeof(),
    which prevents from using it inside an #if preprocessor condition.

Summary of changes:
 sys/dev/drm/drm_atomic.h                 | 14 +++++++-------
 sys/dev/drm/include/drm/drm_os_freebsd.h |  6 ++++++
 2 files changed, 13 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a246dd9f3285b1955a0c85d9f0e440b001eb941


-- 
DragonFly BSD source repository



More information about the Commits mailing list