Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Don't return ENOSYS if nothing needs to b...



details:   https://anonhg.NetBSD.org/src/rev/a5119907d5c3
branches:  trunk
changeset: 771264:a5119907d5c3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Nov 17 15:02:22 2011 +0000

description:
Don't return ENOSYS if nothing needs to be done for the CPU.

XXX Shouldn't this be a runtime test on the CPU?

diffstat:

 sys/arch/arm/arm32/sys_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 9f1cc65f072a -r a5119907d5c3 sys/arch/arm/arm32/sys_machdep.c
--- a/sys/arch/arm/arm32/sys_machdep.c  Thu Nov 17 14:41:55 2011 +0000
+++ b/sys/arch/arm/arm32/sys_machdep.c  Thu Nov 17 15:02:22 2011 +0000
@@ -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 @@
        }
        return 0;
 #else
-       return ENOSYS;
+       return 0;
 #endif
 }



Home | Main Index | Thread Index | Old Index