Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net New jitcode takes two arguments.
details: https://anonhg.NetBSD.org/src/rev/a21bb0675c42
branches: trunk
changeset: 330156:a21bb0675c42
user: alnsn <alnsn%NetBSD.org@localhost>
date: Wed Jun 25 11:58:15 2014 +0000
description:
New jitcode takes two arguments.
diffstat:
sys/net/bpfjit.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 66a87766638f -r a21bb0675c42 sys/net/bpfjit.c
--- a/sys/net/bpfjit.c Wed Jun 25 11:13:28 2014 +0000
+++ b/sys/net/bpfjit.c Wed Jun 25 11:58:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $ */
+/* $NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $ */
/*-
* Copyright (c) 2011-2014 Alexander Nasonov.
@@ -31,9 +31,9 @@
#include <sys/cdefs.h>
#ifdef _KERNEL
-__KERNEL_RCSID(0, "$NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $");
#else
-__RCSID("$NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $");
+__RCSID("$NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $");
#endif
#include <sys/types.h>
@@ -1650,7 +1650,7 @@
#endif
status = sljit_emit_enter(compiler,
- 3, nscratches, 3, sizeof(struct bpfjit_stack));
+ 2, nscratches, 3, sizeof(struct bpfjit_stack));
if (status != SLJIT_SUCCESS)
goto fail;
Home |
Main Index |
Thread Index |
Old Index