Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nor #include <sys/sched.h> for yield();



details:   https://anonhg.NetBSD.org/src/rev/0a7dabc875c1
branches:  trunk
changeset: 808955:0a7dabc875c1
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 09 21:42:21 2015 +0000

description:
#include <sys/sched.h> for yield();

diffstat:

 sys/dev/nor/cfi_0002.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 415c340f8882 -r 0a7dabc875c1 sys/dev/nor/cfi_0002.c
--- a/sys/dev/nor/cfi_0002.c    Tue Jun 09 21:41:55 2015 +0000
+++ b/sys/dev/nor/cfi_0002.c    Tue Jun 09 21:42:21 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cfi_0002.c,v 1.7 2014/07/24 23:25:53 joerg Exp $       */
+/*     $NetBSD: cfi_0002.c,v 1.8 2015/06/09 21:42:21 matt Exp $        */
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -31,13 +31,14 @@
 #include "opt_flash.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cfi_0002.c,v 1.7 2014/07/24 23:25:53 joerg Exp $"); 
+__KERNEL_RCSID(0, "$NetBSD: cfi_0002.c,v 1.8 2015/06/09 21:42:21 matt Exp $"); 
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/cdefs.h>
 #include <sys/device.h>
 #include <sys/endian.h>
+#include <sys/sched.h>
 #include <sys/time.h>
 
 #include <sys/bus.h>



Home | Main Index | Thread Index | Old Index