Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Fix stack overflow, found when testing a ne...
details: https://anonhg.NetBSD.org/src/rev/0d7300a1f29a
branches: trunk
changeset: 357294:0d7300a1f29a
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Nov 04 12:53:00 2017 +0000
description:
Fix stack overflow, found when testing a new feature.
diffstat:
sys/arch/x86/x86/lapic.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e7e02b525e89 -r 0d7300a1f29a sys/arch/x86/x86/lapic.c
--- a/sys/arch/x86/x86/lapic.c Sat Nov 04 12:14:41 2017 +0000
+++ b/sys/arch/x86/x86/lapic.c Sat Nov 04 12:53:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lapic.c,v 1.62 2017/08/15 09:08:39 maxv Exp $ */
+/* $NetBSD: lapic.c,v 1.63 2017/11/04 12:53:00 maxv Exp $ */
/*-
* Copyright (c) 2000, 2008 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.62 2017/08/15 09:08:39 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.63 2017/11/04 12:53:00 maxv Exp $");
#include "acpica.h"
#include "ioapic.h"
@@ -250,7 +250,7 @@
static void
lapic_setup_bsp(paddr_t lapic_base)
{
- u_int regs[4];
+ u_int regs[6];
const char *reason = NULL;
const char *hw_vendor;
bool bios_x2apic;
Home |
Main Index |
Thread Index |
Old Index