Skip to contentSkip to conversation

small add patch from 2.4.19 not yet in 2.4.20

parisc-linux [email protected] 1 participant 1 message Nov 22, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 " [email protected]\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 <[email protected]>
- * Added timer for cable connection state changes.
- * v1.27c Sat Apr 13 2002 Helge Deller <[email protected]>
+ * v1.27b Sat Apr 13 2002 Helge Deller <[email protected]>
* typo-fixes & cleanups
+ * v1.27c Sep 30 2002 Kent Yoder <[email protected]>
+ * 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

fs/exec.c +1 -0
@@ -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