From: Randy Dunlap <randy.dunlap@oracle.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, David Howells <dhowells@redhat.com>
Subject: [PATCH -mmotm] synchro-test: add missing header file
Date: Fri, 9 Oct 2009 16:10:42 -0700 [thread overview]
Message-ID: <20091009161042.b301700c.randy.dunlap@oracle.com> (raw)
In-Reply-To: <200910090830.n998Ubvv020464@imap1.linux-foundation.org>
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build errors, add <sched.h> header file:
kernel/synchro-test.c: In function 'sched':
kernel/synchro-test.c:220: error: implicit declaration of function 'schedule'
kernel/synchro-test.c: In function 'mutexer':
kernel/synchro-test.c:227: error: implicit declaration of function 'daemonize'
kernel/synchro-test.c:228: error: implicit declaration of function 'set_user_nice'
kernel/synchro-test.c:241: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'semaphorer':
kernel/synchro-test.c:263: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'reader':
kernel/synchro-test.c:287: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'writer':
kernel/synchro-test.c:311: error: dereferencing pointer to incomplete type
kernel/synchro-test.c: In function 'downgrader':
kernel/synchro-test.c:340: error: dereferencing pointer to incomplete type
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
kernel/synchro-test.c | 1 +
1 file changed, 1 insertion(+)
--- mmotm-2009-1009-0107.orig/kernel/synchro-test.c
+++ mmotm-2009-1009-0107/kernel/synchro-test.c
@@ -21,6 +21,7 @@
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/moduleparam.h>
+#include <linux/sched.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <asm/atomic.h>
next prev parent reply other threads:[~2009-10-09 23:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 8:07 mmotm 2009-10-09-01-07 uploaded akpm
2009-10-09 10:00 ` [was: mmotm 2009-10-09-01-07 uploaded] Jiri Slaby
2009-10-09 15:30 ` Randy Dunlap
2009-10-09 15:32 ` kvm build failure " Jiri Slaby
2009-10-09 23:15 ` Andrew Morton
2009-10-09 22:47 ` mmotm 2009-10-09-01-07 uploaded (b43) Randy Dunlap
2009-10-10 3:55 ` Larry Finger
2009-10-09 23:10 ` [PATCH -mmotm] cmpc_acpi: depends on ACPI Randy Dunlap
2009-10-11 14:44 ` Thadeu Lima de Souza Cascardo
2009-10-09 23:10 ` Randy Dunlap [this message]
2009-10-10 0:12 ` mmotm 2009-10-09-01-07 - iwl3945 fails to do firmware load request Valdis.Kletnieks
2009-10-10 0:42 ` Zhu Yi
2009-10-10 5:22 ` Valdis.Kletnieks
2009-10-12 10:51 ` [PATCH -mmotm] synchro-test: add missing header file David Howells
2009-10-12 23:20 ` Andrew Morton
2009-10-13 2:24 ` Stephen Rothwell
2009-10-13 2:33 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091009161042.b301700c.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome