Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/arch/x86/x86 Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/8a051ceccffb
branches:  netbsd-8
changeset: 434453:8a051ceccffb
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 30 14:23:12 2017 +0000

description:
Pull up following revision(s) (requested by maxv in ticket #403):
        sys/arch/x86/x86/lapic.c: revision 1.63
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 1a00b438a0ff -r 8a051ceccffb sys/arch/x86/x86/lapic.c
--- a/sys/arch/x86/x86/lapic.c  Thu Nov 30 14:21:48 2017 +0000
+++ b/sys/arch/x86/x86/lapic.c  Thu Nov 30 14:23:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lapic.c,v 1.58.2.3 2017/11/30 14:21:48 martin Exp $    */
+/*     $NetBSD: lapic.c,v 1.58.2.4 2017/11/30 14:23:12 martin 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.58.2.3 2017/11/30 14:21:48 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.58.2.4 2017/11/30 14:23:12 martin 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