From: Olaf Hering <olh@suse.de>
To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Cc: starvik@axis.com
Subject: [PATCH 2/82] remove linux/version.h include from arch/cris
Date: Sun, 10 Jul 2005 19:35:10 +0000 [thread overview]
Message-ID: <20050710193510.2.MMDCbI2304.2247.olh@nectarine.suse.de> (raw)
In-Reply-To: <20050710193508.0.PmFpst2252.2247.olh@nectarine.suse.de>
changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.
remove code for obsolete kernel versions
Signed-off-by: Olaf Hering <olh@suse.de>
arch/cris/arch-v10/drivers/pcf8563.c | 1 -
arch/cris/arch-v10/kernel/fasttimer.c | 1 -
arch/cris/arch-v32/drivers/nandflash.c | 1 -
arch/cris/arch-v32/drivers/pcf8563.c | 1 -
arch/cris/arch-v32/kernel/fasttimer.c | 25 -------------------------
5 files changed, 29 deletions(-)
Index: linux-2.6.13-rc2-mm1/arch/cris/arch-v10/drivers/pcf8563.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/cris/arch-v10/drivers/pcf8563.c
+++ linux-2.6.13-rc2-mm1/arch/cris/arch-v10/drivers/pcf8563.c
@@ -19,7 +19,6 @@
*/
#include <linux/config.h>
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
Index: linux-2.6.13-rc2-mm1/arch/cris/arch-v10/kernel/fasttimer.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/cris/arch-v10/kernel/fasttimer.c
+++ linux-2.6.13-rc2-mm1/arch/cris/arch-v10/kernel/fasttimer.c
@@ -112,7 +112,6 @@
#include <asm/rtc.h>
#include <linux/config.h>
-#include <linux/version.h>
#include <asm/arch/svinto.h>
#include <asm/fasttimer.h>
Index: linux-2.6.13-rc2-mm1/arch/cris/arch-v32/drivers/pcf8563.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/cris/arch-v32/drivers/pcf8563.c
+++ linux-2.6.13-rc2-mm1/arch/cris/arch-v32/drivers/pcf8563.c
@@ -18,7 +18,6 @@
*/
#include <linux/config.h>
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
Index: linux-2.6.13-rc2-mm1/arch/cris/arch-v32/drivers/nandflash.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/cris/arch-v32/drivers/nandflash.c
+++ linux-2.6.13-rc2-mm1/arch/cris/arch-v32/drivers/nandflash.c
@@ -14,7 +14,6 @@
*
*/
-#include <linux/version.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
Index: linux-2.6.13-rc2-mm1/arch/cris/arch-v32/kernel/fasttimer.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/cris/arch-v32/kernel/fasttimer.c
+++ linux-2.6.13-rc2-mm1/arch/cris/arch-v32/kernel/fasttimer.c
@@ -121,7 +121,6 @@
#include <asm/system.h>
#include <linux/config.h>
-#include <linux/version.h>
#include <asm/arch/hwregs/reg_map.h>
#include <asm/arch/hwregs/reg_rdwr.h>
@@ -604,23 +603,9 @@ void schedule_usleep(unsigned long us)
#ifdef CONFIG_PROC_FS
static int proc_fasttimer_read(char *buf, char **start, off_t offset, int len
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
,int *eof, void *data_unused
-#else
- ,int unused
-#endif
);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
static struct proc_dir_entry *fasttimer_proc_entry;
-#else
-static struct proc_dir_entry fasttimer_proc_entry =
-{
- 0, 9, "fasttimer",
- S_IFREG | S_IRUGO, 1, 0, 0,
- 0, NULL /* ops -- default to array */,
- &proc_fasttimer_read /* get_info */,
-};
-#endif
#endif /* CONFIG_PROC_FS */
#ifdef CONFIG_PROC_FS
@@ -629,11 +614,7 @@ static struct proc_dir_entry fasttimer_p
#define BIG_BUF_SIZE (500 + NUM_TIMER_STATS * 300)
static int proc_fasttimer_read(char *buf, char **start, off_t offset, int len
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
,int *eof, void *data_unused
-#else
- ,int unused
-#endif
)
{
unsigned long flags;
@@ -809,9 +790,7 @@ static int proc_fasttimer_read(char *buf
memcpy(buf, bigbuf + offset, len);
*start = buf;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
*eof = 1;
-#endif
return len;
}
@@ -975,12 +954,8 @@ void fast_timer_init(void)
printk("fast_timer_init()n");
#ifdef CONFIG_PROC_FS
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,2,0)
if ((fasttimer_proc_entry = create_proc_entry( "fasttimer", 0, 0 )))
fasttimer_proc_entry->read_proc = proc_fasttimer_read;
-#else
- proc_register_dynamic(&proc_root, &fasttimer_proc_entry);
-#endif
#endif /* PROC_FS */
if(request_irq(TIMER_INTR_VECT, timer_trig_interrupt, SA_INTERRUPT,
"fast timer int", NULL))
next prev parent reply other threads:[~2005-07-10 20:18 UTC|newest]
Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-10 19:35 [PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason Olaf Hering
2005-07-10 19:35 ` [PATCH 1/82] remove linux/version.h include from arch/arm* Olaf Hering
2005-07-10 19:35 ` Olaf Hering [this message]
2005-07-10 19:35 ` [PATCH 3/82] remove linux/version.h include from arch/ia64 Olaf Hering
2005-07-10 19:35 ` [PATCH 4/82] remove linux/version.h include from arch/mips Olaf Hering
2005-07-10 19:35 ` [PATCH 5/82] remove linux/version.h include from arch/parisc Olaf Hering
2005-07-10 19:35 ` [PATCH 6/82] remove linux/version.h include from arch/ppc Olaf Hering
2005-07-10 19:35 ` [PATCH 7/82] remove linux/version.h include from arch/ppc64 Olaf Hering
2005-07-10 19:35 ` [PATCH 8/82] remove linux/version.h include from drivers/atm/he.c Olaf Hering
2005-07-10 19:35 ` [PATCH 9/82] remove linux/version.h from drivers/block/amiflop.c Olaf Hering
2005-07-10 19:35 ` [PATCH 10/82] remove linux/version.h from drivers/char/ip2.c Olaf Hering
2005-07-10 19:35 ` [PATCH 11/82] remove linux/version.h from drivers/char/mwave/tp3780i.c Olaf Hering
2005-07-10 19:35 ` [PATCH 12/82] remove linux/version.h from drivers/char/mxser.c Olaf Hering
2005-07-10 19:35 ` [PATCH 13/82] remove linux/version.h from drivers/char/speakup/ Olaf Hering
2005-07-10 19:35 ` [PATCH 14/82] remove linux/version.h from drivers/char/specialix.c Olaf Hering
2005-07-10 19:35 ` [PATCH 15/82] remove linux/version.h from drivers/char/tpm/tpm.h Olaf Hering
2005-07-10 19:35 ` [PATCH 16/82] remove linux/version.h from drivers/char/viocons.c Olaf Hering
2005-07-10 19:35 ` [PATCH 17/82] remove linux/version.h from drivers/char/viotape.c Olaf Hering
2005-07-10 19:35 ` [PATCH 18/82] remove linux/version.h from drivers/infiniband/ Olaf Hering
2005-07-27 20:53 ` Roland Dreier
2005-07-10 19:35 ` [PATCH 19/82] remove linux/version.h from drivers/isdn Olaf Hering
2005-07-10 19:35 ` [PATCH 20/82] remove linux/version.h from drivers/md/bitmap.c Olaf Hering
2005-07-10 19:35 ` [PATCH 21/82] remove linux/version.h from drivers/media/ Olaf Hering
2005-07-13 10:36 ` [linux-dvb-maintainer] " Johannes Stezenbach
2005-07-10 19:35 ` [PATCH 22/82] remove linux/version.h from drivers/message/fusion Olaf Hering
2005-07-10 19:35 ` [PATCH 23/82] remove linux/version.h from drivers/misc/hdpuftrs/ Olaf Hering
2005-07-10 19:35 ` [PATCH 24/82] remove linux/version.h from drivers/misc/ibmasm/ Olaf Hering
2005-07-10 19:35 ` [PATCH 25/82] remove linux/version.h from drivers/mtd Olaf Hering
2005-07-10 19:35 ` [PATCH 26/82] remove linux/version.h from drivers/net/ Olaf Hering
2005-07-10 19:35 ` [PATCH 27/82] remove linux/version.h from drivers/pcmcia/ Olaf Hering
2005-07-10 19:35 ` [PATCH 28/82] remove linux/version.h from drivers/s390/net/claw.c Olaf Hering
2005-07-10 19:35 ` [PATCH 29/82] remove linux/version.h from drivers/scsi/3w-xxxx.h Olaf Hering
2005-07-10 19:35 ` [PATCH 30/82] remove linux/version.h from drivers/scsi/a2091.c Olaf Hering
2005-07-10 19:35 ` [PATCH 31/82] remove linux/version.h from drivers/scsi/aic7xxx/ Olaf Hering
2005-07-10 19:35 ` [PATCH 32/82] remove linux/version.h from drivers/scsi/amiga7xx.c Olaf Hering
2005-07-10 19:35 ` [PATCH 33/82] remove linux/version.h from drivers/scsi/arcmsr Olaf Hering
2005-07-10 19:35 ` [PATCH 34/82] remove linux/version.h from drivers/scsi/bvme6000.c Olaf Hering
2005-07-10 19:35 ` [PATCH 35/82] remove linux/version.h from drivers/scsi/cpqfcTSinit.c Olaf Hering
2005-07-30 2:43 ` James Bottomley
2005-07-30 4:19 ` Andrew Morton
2005-07-10 19:35 ` [PATCH 36/82] remove linux/version.h from drivers/scsi/dpt/dpti_i2o.h Olaf Hering
2005-07-10 19:35 ` [PATCH 37/82] remove linux/version.h from drivers/scsi/gdth Olaf Hering
2005-07-10 19:35 ` [PATCH 38/82] remove linux/version.h from drivers/scsi/gvp11.c Olaf Hering
2005-07-10 19:35 ` [PATCH 39/82] remove linux/version.h from drivers/scsi/ibmmca.c Olaf Hering
2005-07-10 19:35 ` [PATCH 40/82] remove linux/version.h from drivers/scsi/ips Olaf Hering
2005-07-10 19:35 ` [PATCH 41/82] remove linux/version.h from drivers/scsi/iteraid.h Olaf Hering
2005-07-10 19:35 ` [PATCH 42/82] remove linux/version.h from drivers/scsi/megaraid Olaf Hering
2005-07-10 19:35 ` [PATCH 43/82] remove linux/version.h from drivers/scsi/mvme147.c Olaf Hering
2005-07-10 19:35 ` [PATCH 44/82] remove linux/version.h from drivers/scsi/mvme16x.c Olaf Hering
2005-07-10 19:35 ` [PATCH 45/82] remove linux/version.h from drivers/scsi/nsp32 Olaf Hering
2005-07-10 19:35 ` [PATCH 46/82] remove unused drivers/scsi/pci2000.h Olaf Hering
2005-07-10 19:35 ` [PATCH 47/82] remove linux/version.h from drivers/scsi/pcmcia/nsp* Olaf Hering
2005-07-10 19:35 ` [PATCH 48/82] remove linux/version.h from drivers/scsi/qla1280.c Olaf Hering
2005-07-10 19:35 ` [PATCH 49/82] remove linux/version.h from drivers/scsi/scsi_debug.c Olaf Hering
2005-07-10 19:35 ` [PATCH 50/82] remove linux/version.h from drivers/scsi/sg.c Olaf Hering
2005-07-10 19:35 ` [PATCH 51/82] remove linux/version.h from drivers/scsi/sgiwd93.c Olaf Hering
2005-07-10 19:36 ` [PATCH 52/82] remove linux/version.h from drivers/scsi/wd33c93.c Olaf Hering
2005-07-10 19:36 ` [PATCH 53/82] remove linux/version.h from drivers/serial/crisv10.c Olaf Hering
2005-07-10 19:36 ` [PATCH 54/82] remove linux/version.h from drivers/serial/crisv32.c Olaf Hering
2005-07-10 19:36 ` [PATCH 55/82] remove linux/version.h from drivers/serial/icom.c Olaf Hering
2005-07-10 19:36 ` [PATCH 56/82] remove linux/version.h from drivers/serial/jsm/jsm.h Olaf Hering
2005-07-10 19:36 ` [PATCH 57/82] remove linux/version.h from drivers/telephony/ixj.h Olaf Hering
2005-07-10 19:36 ` [PATCH 58/82] remove linux/version.h from drivers/usb Olaf Hering
2005-07-27 20:34 ` Greg KH
2005-07-10 19:36 ` [PATCH 59/82] remove linux/version.h from drivers/video/backlight/backlight.c Olaf Hering
2005-07-10 19:36 ` [PATCH 60/82] remove linux/version.h from drivers/video/backlight/lcd.c Olaf Hering
2005-07-10 19:36 ` [PATCH 61/82] remove linux/version.h from drivers/video/intelfb/intelfb* Olaf Hering
2005-07-10 19:36 ` [PATCH 62/82] remove linux/version.h from drivers/video/sis Olaf Hering
2005-07-10 19:36 ` [PATCH 63/82] remove linux/version.h from fs/9p Olaf Hering
2005-07-10 19:36 ` [PATCH 64/82] remove linux/version.h from fs/adfs/adfs.h Olaf Hering
2005-07-10 19:36 ` [PATCH 65/82] remove linux/version.h from fs/configfs Olaf Hering
2005-07-10 19:36 ` [PATCH 66/82] remove linux/version.h from fs/hfs/ Olaf Hering
2005-11-05 17:37 ` Eric Piel
2005-11-05 18:52 ` Olaf Hering
2005-07-10 19:36 ` [PATCH 67/82] remove linux/version.h from fs/hfsplus/ Olaf Hering
2005-07-10 19:36 ` [PATCH 68/82] remove linux/version.h from fs/hostfs/ Olaf Hering
2005-07-10 19:36 ` [PATCH 69/82] remove linux/version.h from fs/ocfs2/ Olaf Hering
2005-07-10 19:36 ` [PATCH 70/82] remove linux/version.h from fs/xfs/ Olaf Hering
2005-07-10 19:36 ` [PATCH 71/82] remove linux/version.h from include/linux/if_wanpipe_common.h Olaf Hering
2005-07-10 19:36 ` [PATCH 72/82] remove linux/version.h from include/linux/istallion.h Olaf Hering
2005-07-10 19:36 ` [PATCH 73/82] remove linux/version.h from include/linux/phonedev.h Olaf Hering
2005-07-10 19:36 ` [PATCH 74/82] remove linux/version.h from include/linux/serialP.h Olaf Hering
2005-07-10 19:36 ` [PATCH 75/82] remove linux/version.h from include/linux/stallion.h Olaf Hering
2005-07-10 19:36 ` [PATCH 76/82] remove linux/version.h from include/linux/videodev.h Olaf Hering
2005-07-10 19:36 ` [PATCH 77/82] remove linux/version.h from sound/ Olaf Hering
2005-07-10 19:36 ` [PATCH 78/82] remove linux/version.h from net/ieee80211/ Olaf Hering
2005-07-10 19:36 ` [PATCH 79/82] move KERNEL_VERSION from linux/version.h to linux/utsname.h Olaf Hering
2005-07-10 19:36 ` [PATCH 80/82] remove linux/version.h from drivers/media/ Olaf Hering
2005-07-10 19:36 ` [PATCH 81/82] remove linux/version.h from drivers/usb Olaf Hering
2005-07-10 19:36 ` [PATCH 82/82] remove linux/version.h from drivers/video/matrox/matroxfb_base.c Olaf Hering
2005-07-10 21:49 ` [PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason David S. Miller
2005-07-10 22:24 ` Jeff Garzik
2005-07-11 4:18 ` Nish Aravamudan
2005-07-11 4:58 ` David S. Miller
2005-07-11 5:27 ` Nish Aravamudan
2005-07-17 8:28 ` Rogier Wolff
2005-07-10 22:23 ` Jeff Garzik
2005-07-11 0:42 ` Josh Boyer
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=20050710193510.2.MMDCbI2304.2247.olh@nectarine.suse.de \
--to=olh@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=starvik@axis.com \
/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
all inboxes | Powered by JetHome®