Module Name: src
Committed By: matt
Date: Sat Jun 18 20:34:39 UTC 2011
Modified Files:
src/sys/arch/powerpc/oea: oea_machdep.c
Log Message:
Call cpu_fixup_stubs at the end of oea_machdep
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/powerpc/oea/oea_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/oea/oea_machdep.c
diff -u src/sys/arch/powerpc/oea/oea_machdep.c:1.56 src/sys/arch/powerpc/oea/oea_machdep.c:1.57
--- src/sys/arch/powerpc/oea/oea_machdep.c:1.56 Tue Jan 18 02:25:42 2011
+++ src/sys/arch/powerpc/oea/oea_machdep.c Sat Jun 18 20:34:39 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: oea_machdep.c,v 1.56 2011/01/18 02:25:42 matt Exp $ */
+/* $NetBSD: oea_machdep.c,v 1.57 2011/06/18 20:34:39 matt Exp $ */
/*
* Copyright (C) 2002 Matt Thomas
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oea_machdep.c,v 1.56 2011/01/18 02:25:42 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oea_machdep.c,v 1.57 2011/06/18 20:34:39 matt Exp $");
#include "opt_ppcarch.h"
#include "opt_compat_netbsd.h"
@@ -421,6 +421,12 @@
: "K"(PSL_IR|PSL_DR|PSL_ME|PSL_RI));
#endif
+ /*
+ * Let's take all the indirect calls via our stubs and patch
+ * them to be direct calls.
+ */
+ cpu_fixup_stubs();
+
KASSERT(curcpu() == ci);
}