Module Name: src Committed By: riastradh Date: Sun Dec 19 01:39:06 UTC 2021
Modified Files: src/sys/external/bsd/common/include/linux: slab.h Log Message: Define kinda bogus ARCH_KMALLOC_MINALIGN that's probably enough. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/common/include/linux/slab.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/common/include/linux/slab.h diff -u src/sys/external/bsd/common/include/linux/slab.h:1.3 src/sys/external/bsd/common/include/linux/slab.h:1.4 --- src/sys/external/bsd/common/include/linux/slab.h:1.3 Sun Dec 19 01:33:44 2021 +++ src/sys/external/bsd/common/include/linux/slab.h Sun Dec 19 01:39:05 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: slab.h,v 1.3 2021/12/19 01:33:44 riastradh Exp $ */ +/* $NetBSD: slab.h,v 1.4 2021/12/19 01:39:05 riastradh Exp $ */ /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. @@ -42,6 +42,8 @@ #include <linux/gfp.h> #include <linux/rcupdate.h> +#define ARCH_KMALLOC_MINALIGN 4 /* XXX ??? */ + /* XXX Should use kmem, but Linux kfree doesn't take the size. */ static inline int