Module Name: src
Committed By: joerg
Date: Thu Nov 17 15:02:22 UTC 2011
Modified Files:
src/sys/arch/arm/arm32: sys_machdep.c
Log Message:
Don't return ENOSYS if nothing needs to be done for the CPU.
XXX Shouldn't this be a runtime test on the CPU?
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/arm32/sys_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/arm/arm32/sys_machdep.c
diff -u src/sys/arch/arm/arm32/sys_machdep.c:1.13 src/sys/arch/arm/arm32/sys_machdep.c:1.14
--- src/sys/arch/arm/arm32/sys_machdep.c:1.13 Thu Jun 30 20:09:20 2011
+++ src/sys/arch/arm/arm32/sys_machdep.c Thu Nov 17 15:02:22 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.13 2011/06/30 20:09:20 wiz Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.14 2011/11/17 15:02:22 joerg Exp $ */
/*
* Copyright (c) 1995-1997 Mark Brinicombe.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.13 2011/06/30 20:09:20 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.14 2011/11/17 15:02:22 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -122,6 +122,6 @@ cpu_lwp_setprivate(lwp_t *l, void *addr)
}
return 0;
#else
- return ENOSYS;
+ return 0;
#endif
}