From: Matt Helsley <matthltc@us.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Guillaume Thouvenin <guillaume.thouvenin@bull.net>,
Nguyen Anh Quynh <aquynh@gmail.com>
Subject: Re: [PATCH 01/02] Process Events - Header Cleanup
Date: Tue, 25 Apr 2006 02:10:25 -0700 [thread overview]
Message-ID: <1145956226.28976.137.camel@stark> (raw)
In-Reply-To: <1145956109.28976.133.camel@stark>
Move connector header include to precisely where it's needed.
Remove unused time.h header file as well. This was leftover from previous iterations
of the process events patches.
Compiles on x86. Tested on ppc64.
Please apply to -mm.
Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
--
Index: linux-2.6.17-rc2/drivers/connector/cn_proc.c
===================================================================
--- linux-2.6.17-rc2.orig/drivers/connector/cn_proc.c
+++ linux-2.6.17-rc2/drivers/connector/cn_proc.c
@@ -24,10 +24,11 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/init.h>
+#include <linux/connector.h>
#include <asm/atomic.h>
#include <linux/cn_proc.h>
#define CN_PROC_MSG_SIZE (sizeof(struct cn_msg) + sizeof(struct proc_event))
Index: linux-2.6.17-rc2/include/linux/cn_proc.h
===================================================================
--- linux-2.6.17-rc2.orig/include/linux/cn_proc.h
+++ linux-2.6.17-rc2/include/linux/cn_proc.h
@@ -24,12 +24,10 @@
#ifndef CN_PROC_H
#define CN_PROC_H
#include <linux/types.h>
-#include <linux/time.h>
-#include <linux/connector.h>
/*
* Userspace sends this enum to register with the kernel that it is listening
* for events on the connector.
*/
next prev parent reply other threads:[~2006-04-25 9:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 9:08 [PATCH 00/02] Process Events - Header Cleanup and License Change Matt Helsley
2006-04-25 9:10 ` Matt Helsley [this message]
2006-04-25 9:12 ` [PATCH 02/02] Process Events - " Matt Helsley
2006-04-27 6:37 ` Nguyen Anh Quynh
2006-04-27 8:00 ` Guillaume Thouvenin
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=1145956226.28976.137.camel@stark \
--to=matthltc@us.ibm.com \
--cc=akpm@osdl.org \
--cc=aquynh@gmail.com \
--cc=guillaume.thouvenin@bull.net \
--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