From: rwhron@earthlink.net
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] [PATCH] remove version.h where it isn't needed
Date: Tue, 21 Oct 2003 18:57:40 -0400 [thread overview]
Message-ID: <20031021225740.GA4471@rushmore> (raw)
Remove include of linux/version.h where it isn't needed.
Tested on 2.6.0-test8-uml1 with default configuration.
diff -Nur linux-2.6.0-test8-um1/arch/um/drivers/hostaudio_kern.c linux/arch/um/drivers/hostaudio_kern.c
--- linux-2.6.0-test8-um1/arch/um/drivers/hostaudio_kern.c 2003-10-21 16:57:02.000000000 -0400
+++ linux/arch/um/drivers/hostaudio_kern.c 2003-10-21 17:07:35.655017296 -0400
@@ -5,7 +5,6 @@
#include "linux/config.h"
#include "linux/module.h"
-#include "linux/version.h"
#include "linux/init.h"
#include "linux/slab.h"
#include "linux/fs.h"
diff -Nur linux-2.6.0-test8-um1/arch/um/include/2_5compat.h linux/arch/um/include/2_5compat.h
--- linux-2.6.0-test8-um1/arch/um/include/2_5compat.h 2003-04-19 22:49:26.000000000 -0400
+++ linux/arch/um/include/2_5compat.h 2003-10-21 17:08:12.192462760 -0400
@@ -6,8 +6,6 @@
#ifndef __2_5_COMPAT_H__
#define __2_5_COMPAT_H__
-#include "linux/version.h"
-
#define INIT_CONSOLE(dev_name, write_proc, device_proc, setup_proc, f) { \
name : dev_name, \
write : write_proc, \
diff -Nur linux-2.6.0-test8-um1/arch/um/kernel/init_task.c linux/arch/um/kernel/init_task.c
--- linux-2.6.0-test8-um1/arch/um/kernel/init_task.c 2003-10-21 16:57:02.000000000 -0400
+++ linux/arch/um/kernel/init_task.c 2003-10-21 17:09:03.325689328 -0400
@@ -8,7 +8,6 @@
#include "linux/module.h"
#include "linux/sched.h"
#include "linux/init_task.h"
-#include "linux/version.h"
#include "asm/uaccess.h"
#include "asm/pgtable.h"
#include "user_util.h"
diff -Nur linux-2.6.0-test8-um1/arch/um/kernel/sys_call_table.c linux/arch/um/kernel/sys_call_table.c
--- linux-2.6.0-test8-um1/arch/um/kernel/sys_call_table.c 2003-10-21 16:57:02.000000000 -0400
+++ linux/arch/um/kernel/sys_call_table.c 2003-10-21 17:08:33.848170592 -0400
@@ -5,7 +5,6 @@
#include "linux/config.h"
#include "linux/unistd.h"
-#include "linux/version.h"
#include "linux/sys.h"
#include "linux/swap.h"
#include "linux/sysctl.h"
--
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2003-10-22 0:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 22:57 rwhron [this message]
2003-11-09 1:53 ` [uml-devel] [PATCH] remove version.h where it isn't needed Jeff Dike
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=20031021225740.GA4471@rushmore \
--to=rwhron@earthlink.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.