Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove highly questionable assert which demans that...
details: https://anonhg.NetBSD.org/src/rev/a304c3595782
branches: trunk
changeset: 749286:a304c3595782
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Nov 25 13:16:55 2009 +0000
description:
Remove highly questionable assert which demans that the kernel symbol
table is in memory at a lower address than the string table.
diffstat:
sys/kern/kern_ksyms.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r d42de385d7c4 -r a304c3595782 sys/kern/kern_ksyms.c
--- a/sys/kern/kern_ksyms.c Wed Nov 25 13:15:17 2009 +0000
+++ b/sys/kern/kern_ksyms.c Wed Nov 25 13:16:55 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ksyms.c,v 1.51 2009/03/15 17:14:40 cegger Exp $ */
+/* $NetBSD: kern_ksyms.c,v 1.52 2009/11/25 13:16:55 pooka Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.51 2009/03/15 17:14:40 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.52 2009/11/25 13:16:55 pooka Exp $");
#if defined(_KERNEL) && defined(_KERNEL_OPT)
#include "opt_ddb.h"
@@ -141,7 +141,6 @@
#endif
if (symstart == NULL || strstart == NULL)
return 0;
- KASSERT(symstart <= strstart);
return 1;
}
Home |
Main Index |
Thread Index |
Old Index