Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/common/include/linux Define kinda bogus ARC...
details: https://anonhg.NetBSD.org/src/rev/680a3ead1938
branches: trunk
changeset: 1028013:680a3ead1938
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:39:05 2021 +0000
description:
Define kinda bogus ARCH_KMALLOC_MINALIGN that's probably enough.
diffstat:
sys/external/bsd/common/include/linux/slab.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 972ebf5cee2d -r 680a3ead1938 sys/external/bsd/common/include/linux/slab.h
--- a/sys/external/bsd/common/include/linux/slab.h Sun Dec 19 01:38:58 2021 +0000
+++ b/sys/external/bsd/common/include/linux/slab.h Sun Dec 19 01:39:05 2021 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index