svn commit: r265268 - projects/arm64/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Sat May 3 15:27:30 UTC 2014
Author: andrew
Date: Sat May 3 15:27:30 2014
New Revision: 265268
URL: http://svnweb.freebsd.org/changeset/base/265268
Log:
Replace panic with printf in spinlock_{enter,exit} as panic makes use of
spinlocks.
Modified:
projects/arm64/sys/arm64/arm64/machdep.c
Modified: projects/arm64/sys/arm64/arm64/machdep.c
==============================================================================
--- projects/arm64/sys/arm64/arm64/machdep.c Sat May 3 15:03:47 2014 (r265267)
+++ projects/arm64/sys/arm64/arm64/machdep.c Sat May 3 15:27:30 2014 (r265268)
@@ -221,14 +221,14 @@ void
spinlock_enter(void)
{
- panic("spinlock_enter");
+ printf("spinlock_enter\n");
}
void
spinlock_exit(void)
{
- panic("spinlock_exit");
+ printf("spinlock_exit\n");
}
#ifndef _SYS_SYSPROTO_H_
@@ -484,7 +484,6 @@ initarm(struct arm64_bootparams *abp)
pmap_bootstrap(abp->kern_l1pt, KERNBASE - abp->kern_delta,
lastaddr - KERNBASE);
-
printf("End initarm\n");
}
More information about the svn-src-projects
mailing list