cddl/compat/opensolaris/sys/sig.h: Convert mtx_ to lwkt_ locking

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris/kern: Rename 'printf' to 'kprintf'

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris/kern: Rename malloc/free to kmalloc/kfree

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/contrib/*/zfs_vnops.c: No need for vm_page_{lock,unlock}

In DragonflyBSD there is no need for vm_page_{lock,unlock}() calls.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sysmacros.h redefines howmany() that is already in param.h

This could be done better..

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
include/rpc/xdr.h: Partial sync with FreeBSD

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cddl/contrib/*/thread.h: Internalise thread_t as it conflicts

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris: Stub out (WIP)

Stub out function so we can continue to build..

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>