sys/cddl/*: ifdef in defined(__DragonFly__) also

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>
etc/defaults/make.conf: NO_PROFILE breaks gcc builds

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/Makefile: We use sha2.c from sys/crypto/sha2

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

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/*/fs/zfs/dnode.c: zrlock_t has no member when NO_ZFSDEBUG

error: 'zrlock_t' has no member named 'zr_owner'

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cddl/Makefile: usr.sbin - not yet

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cdd/*/Makefile: dont try and link in geom

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cddl/contrib/opensolaris/lib/libzpool: missing sys/thread.h include

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

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/Makefile: keep build product intermediates

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
fs/zfs/spa.c: remove an unused label out:

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
stub out some more includes

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
zfs: rename refcount.h to zfs_refcount.h avoid conflict

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
compat/opensolaris/sys/varargs.h: Just wrap stdarg.h

In DragonflyBSD there is no need to differentiate between
userland and in-kernel stdargs.h

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris: don't preempt kern threads

In Dragonfly kernel threads don't preempt each other.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl: rename mp_ncpus to just ncpus

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat: Missing include in opensolaris_string.c

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/*/fm.c: PCPU_GET(cpuid) is mycpuid in DragonflyBSD

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/boot/zfs: Import as-is

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