git: <sys/sysref.h>: Switch to lighter <sys/_malloc.h> header.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Oct 31 14:15:49 PDT 2019


commit dae650601b7a1502cc3804a70c39222b46186f48
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Oct 20 21:05:43 2019 +0300

    <sys/sysref.h>: Switch to lighter <sys/_malloc.h> header.
    
     * Make <sys/sysref2.h> a kernel only header.
     * Remove sys/types.h includes that follow <sys/param.h> in devfs(5).
     * Add sys/malloc.h includes where it is actually used in sources.
    
     While there, minor whitespace cleanup.

Summary of changes:
 sys/dev/disk/dm/delay/dm_target_delay.c   |  2 ++
 sys/dev/disk/dm/flakey/dm_target_flakey.c |  2 ++
 sys/dev/powermng/coretemp/coretemp.c      |  1 +
 sys/dev/smbus/atmel_mxt/atmel_mxt.c       |  1 +
 sys/kern/kern_sysref.c                    | 11 ++++++-----
 sys/kern/lwkt_thread.c                    | 17 +++++++++--------
 sys/kern/subr_disklabel64.c               |  1 +
 sys/sys/sysref.h                          | 22 ++++++++++------------
 sys/sys/sysref2.h                         | 14 +++++++++-----
 sys/vfs/devfs/devfs_core.c                |  1 -
 sys/vfs/devfs/devfs_helper.c              |  2 +-
 sys/vfs/devfs/devfs_rules.c               |  2 +-
 sys/vfs/devfs/devfs_vfsops.c              |  1 +
 sys/vfs/ufs/ffs_alloc.c                   |  1 +
 14 files changed, 45 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dae650601b7a1502cc3804a70c39222b46186f48


-- 
DragonFly BSD source repository



More information about the Commits mailing list