All of lore.kernel.org
 help / color / mirror / Atom feed
From: jsoe0708@tiscali.be
To: "Helge Deller" <deller@gmx.de>
Cc: parisc-linux@lists.parisc-linux.org, puffin@esiee.fr
Subject: [parisc-linux] small add patch from 2.4.19 not yet in 2.4.20
Date: Fri, 22 Nov 2002 10:44:57 +0100	[thread overview]
Message-ID: <3DB57761000044AF@ocpmta8.be.tiscali.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4213 bytes --]

Hi Helge and all,

Here is some small diff file of some stuff found in 2.4.19-pa24 but not yet
in 2.4.20-rc1. I am not able to judge their importance so I submit it to
your attention.

=================================================================================
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/arch/parisc/kernel/syscall.S
linux-2.4.20-rc1-pa6t/arch/parisc/kernel/syscall.S
--- linux-2.4.20-rc1-pa6/arch/parisc/kernel/syscall.S	2002-08-07 07:43:26.000000000
+0200
+++ linux-2.4.20-rc1-pa6t/arch/parisc/kernel/syscall.S	2002-10-30 18:39:33.000000000
+0100
@@ -593,18 +593,11 @@
 	ENTRY_DIFF(ftruncate64)	/* 200 */
 	ENTRY_SAME(getdents64)
 	ENTRY_DIFF(fcntl64)
-#ifdef CONFIG_XFS_FS
-	ENTRY_SAME(attrctl)
-	ENTRY_SAME(acl_get)
-	ENTRY_SAME(acl_set)            /* 205 */
-#else
-	ENTRY_SAME(ni_syscall)
-	ENTRY_SAME(ni_syscall)
-	ENTRY_SAME(ni_syscall)	       /* 205 */
-#endif
-	ENTRY_SAME(gettid)             
+	ENTRY_SAME(ni_syscall)		/* attrctl */
+	ENTRY_SAME(ni_syscall)		/* acl_get */
+	ENTRY_SAME(ni_syscall)		/* acl_set */
+	ENTRY_SAME(gettid)
 	ENTRY_SAME(readahead)          
-	ENTRY_SAME(tkill)
 
 .end
 
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/drivers/char/hp_psaux.c
linux-2.4.20-rc1-pa6t/drivers/char/hp_psaux.c
--- linux-2.4.20-rc1-pa6/drivers/char/hp_psaux.c	2002-11-13 16:56:38.000000000
+0100
+++ linux-2.4.20-rc1-pa6t/drivers/char/hp_psaux.c	2002-11-01 19:25:48.000000000
+0100
@@ -197,7 +197,7 @@
 }
 #endif 
 
-static int init_keyb(unsigned long hpa)
+static int __init init_keyb(unsigned long hpa)
 {
 	int res = 0;
 	unsigned long flags;
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/drivers/net/pcnet32.c
linux-2.4.20-rc1-pa6t/drivers/net/pcnet32.c
--- linux-2.4.20-rc1-pa6/drivers/net/pcnet32.c	2002-11-13 16:58:23.000000000
+0100
+++ linux-2.4.20-rc1-pa6t/drivers/net/pcnet32.c	2002-11-01 21:30:18.000000000
+0100
@@ -45,7 +45,7 @@
 #include <linux/skbuff.h>
 #include <linux/spinlock.h>
 
-static const char version[] __devinitdata =
+static const char *version =
 DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " tsbogend@alpha.franken.de\n";
 
 /*
@@ -207,10 +207,10 @@
  *	   fix pci probe not increment cards_found
  *	   FD auto negotiate error workaround for xSeries250
  *	   clean up and using new mii module
- * v1.27b  Sep 30 2002 Kent Yoder <yoder1@us.ibm.com>
- * 	   Added timer for cable connection state changes.
- * v1.27c  Sat Apr 13 2002 Helge Deller <deller@gmx.de>
+ * v1.27b  Sat Apr 13 2002 Helge Deller <deller@gmx.de>
  * 	   typo-fixes & cleanups
+ * v1.27c  Sep 30 2002 Kent Yoder <yoder1@us.ibm.com>
+ * 	   Added timer for cable connection state changes.
  */
 
 
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/drivers/scsi/cpqfcTSstructs.h
linux-2.4.20-rc1-pa6t/drivers/scsi/cpqfcTSstructs.h
--- linux-2.4.20-rc1-pa6/drivers/scsi/cpqfcTSstructs.h	2002-11-18 09:10:31.000000000
+0100
+++ linux-2.4.20-rc1-pa6t/drivers/scsi/cpqfcTSstructs.h	2002-11-07 08:56:22.000000000
+0100
@@ -413,7 +413,9 @@
 } TachLiteERQ;
 
 // for now, just 32 bit DMA, eventually 40something, with code changes
-#define CPQFCTS_DMA_MASK 0xFFFFFFFFUL
+//#define CPQFCTS_DMA_MASK 0xFFFFFFFFUL
+#define CPQFCTS_DMA_MASK ((unsigned long) (0x00000000FFFFFFFF))
+
 
 #define TL_MAX_SG_ELEM_LEN 0x7ffff  // Max buffer length a single S/G entry
 				// may represent (a hardware limitation).  The
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/fs/exec.c
linux-2.4.20-rc1-pa6t/fs/exec.c
--- linux-2.4.20-rc1-pa6/fs/exec.c	2002-11-18 09:24:17.000000000 +0100
+++ linux-2.4.20-rc1-pa6t/fs/exec.c	2002-11-07 10:31:14.000000000 +0100
@@ -394,6 +394,7 @@
 		struct page *page = bprm->page[i];
 		if (page) {
 			bprm->page[i] = NULL;
+			mm->rss++;
 			put_dirty_page(current,page,stack_base);
 		}
 		stack_base += PAGE_SIZE;

=================================================================================

Thanks in advance,
    Joel


********************************************************************************
Controlez mieux votre consommation Internet...surfez Tiscali Complete...http://tiscali.complete.be



[-- Attachment #2: linux-2.4.20-rc1-pa6_mine.diff1 --]
[-- Type: application/octet-stream, Size: 3652 bytes --]

diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/arch/parisc/kernel/syscall.S linux-2.4.20-rc1-pa6t/arch/parisc/kernel/syscall.S
--- linux-2.4.20-rc1-pa6/arch/parisc/kernel/syscall.S	2002-08-07 07:43:26.000000000 +0200
+++ linux-2.4.20-rc1-pa6t/arch/parisc/kernel/syscall.S	2002-10-30 18:39:33.000000000 +0100
@@ -593,18 +593,11 @@
 	ENTRY_DIFF(ftruncate64)	/* 200 */
 	ENTRY_SAME(getdents64)
 	ENTRY_DIFF(fcntl64)
-#ifdef CONFIG_XFS_FS
-	ENTRY_SAME(attrctl)
-	ENTRY_SAME(acl_get)
-	ENTRY_SAME(acl_set)            /* 205 */
-#else
-	ENTRY_SAME(ni_syscall)
-	ENTRY_SAME(ni_syscall)
-	ENTRY_SAME(ni_syscall)	       /* 205 */
-#endif
-	ENTRY_SAME(gettid)             
+	ENTRY_SAME(ni_syscall)		/* attrctl */
+	ENTRY_SAME(ni_syscall)		/* acl_get */
+	ENTRY_SAME(ni_syscall)		/* acl_set */
+	ENTRY_SAME(gettid)
 	ENTRY_SAME(readahead)          
-	ENTRY_SAME(tkill)
 
 .end
 
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/drivers/char/hp_psaux.c linux-2.4.20-rc1-pa6t/drivers/char/hp_psaux.c
--- linux-2.4.20-rc1-pa6/drivers/char/hp_psaux.c	2002-11-13 16:56:38.000000000 +0100
+++ linux-2.4.20-rc1-pa6t/drivers/char/hp_psaux.c	2002-11-01 19:25:48.000000000 +0100
@@ -197,7 +197,7 @@
 }
 #endif 
 
-static int init_keyb(unsigned long hpa)
+static int __init init_keyb(unsigned long hpa)
 {
 	int res = 0;
 	unsigned long flags;
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/drivers/net/pcnet32.c linux-2.4.20-rc1-pa6t/drivers/net/pcnet32.c
--- linux-2.4.20-rc1-pa6/drivers/net/pcnet32.c	2002-11-13 16:58:23.000000000 +0100
+++ linux-2.4.20-rc1-pa6t/drivers/net/pcnet32.c	2002-11-01 21:30:18.000000000 +0100
@@ -45,7 +45,7 @@
 #include <linux/skbuff.h>
 #include <linux/spinlock.h>
 
-static const char version[] __devinitdata =
+static const char *version =
 DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " tsbogend@alpha.franken.de\n";
 
 /*
@@ -207,10 +207,10 @@
  *	   fix pci probe not increment cards_found
  *	   FD auto negotiate error workaround for xSeries250
  *	   clean up and using new mii module
- * v1.27b  Sep 30 2002 Kent Yoder <yoder1@us.ibm.com>
- * 	   Added timer for cable connection state changes.
- * v1.27c  Sat Apr 13 2002 Helge Deller <deller@gmx.de>
+ * v1.27b  Sat Apr 13 2002 Helge Deller <deller@gmx.de>
  * 	   typo-fixes & cleanups
+ * v1.27c  Sep 30 2002 Kent Yoder <yoder1@us.ibm.com>
+ * 	   Added timer for cable connection state changes.
  */
 
 
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/drivers/scsi/cpqfcTSstructs.h linux-2.4.20-rc1-pa6t/drivers/scsi/cpqfcTSstructs.h
--- linux-2.4.20-rc1-pa6/drivers/scsi/cpqfcTSstructs.h	2002-11-18 09:10:31.000000000 +0100
+++ linux-2.4.20-rc1-pa6t/drivers/scsi/cpqfcTSstructs.h	2002-11-07 08:56:22.000000000 +0100
@@ -413,7 +413,9 @@
 } TachLiteERQ;
 
 // for now, just 32 bit DMA, eventually 40something, with code changes
-#define CPQFCTS_DMA_MASK 0xFFFFFFFFUL
+//#define CPQFCTS_DMA_MASK 0xFFFFFFFFUL
+#define CPQFCTS_DMA_MASK ((unsigned long) (0x00000000FFFFFFFF))
+
 
 #define TL_MAX_SG_ELEM_LEN 0x7ffff  // Max buffer length a single S/G entry
 				// may represent (a hardware limitation).  The
diff -Naur -x CVS -x .cvsignore -x '*.orig' -x math-emu linux-2.4.20-rc1-pa6/fs/exec.c linux-2.4.20-rc1-pa6t/fs/exec.c
--- linux-2.4.20-rc1-pa6/fs/exec.c	2002-11-18 09:24:17.000000000 +0100
+++ linux-2.4.20-rc1-pa6t/fs/exec.c	2002-11-07 10:31:14.000000000 +0100
@@ -394,6 +394,7 @@
 		struct page *page = bprm->page[i];
 		if (page) {
 			bprm->page[i] = NULL;
+			mm->rss++;
 			put_dirty_page(current,page,stack_base);
 		}
 		stack_base += PAGE_SIZE;
 

                 reply	other threads:[~2002-11-22  9:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3DB57761000044AF@ocpmta8.be.tiscali.com \
    --to=jsoe0708@tiscali.be \
    --cc=deller@gmx.de \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=puffin@esiee.fr \
    /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.