Module Name: src Committed By: skrll Date: Tue Aug 28 09:25:21 UTC 2018
Modified Files: src/sys/external/bsd/vchiq/dist/interface/compat: vchi_bsd.h Log Message: Remove stuff now in sys/external/bsd/common To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 \ src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h diff -u src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h:1.14 src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h:1.15 --- src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h:1.14 Sun Nov 5 09:11:43 2017 +++ src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h Tue Aug 28 09:25:21 2018 @@ -216,32 +216,6 @@ device_rlprintf(int pps, device_t dev, c #define vchiq_static_assert(cond) CTASSERT(cond) -#define KERN_EMERG "<0>" /* system is unusable */ -#define KERN_ALERT "<1>" /* action must be taken immediately */ -#define KERN_CRIT "<2>" /* critical conditions */ -#define KERN_ERR "<3>" /* error conditions */ -#define KERN_WARNING "<4>" /* warning conditions */ -#define KERN_NOTICE "<5>" /* normal but significant condition */ -#define KERN_INFO "<6>" /* informational */ -#define KERN_DEBUG "<7>" /* debug-level messages */ -#define KERN_CONT "" - -#define printk(fmt, args...) printf(fmt, ##args) -#define vprintk(fmt, args) vprintf(fmt, args) - -/* - * Malloc API - */ -#define GFP_KERNEL 0 -#define GFP_ATOMIC 0 - -MALLOC_DECLARE(M_VCHI); - -#define kmalloc(size, flags) malloc((size), M_VCHI, M_NOWAIT | M_ZERO) -#define kcalloc(n, size, flags) malloc((n) * (size), M_VCHI, M_NOWAIT | M_ZERO) -#define kzalloc(a, b) kcalloc(1, (a), (b)) -#define kfree(p) do { if (p) free(p, M_VCHI); } while (0) - /* * Kernel module API */