SOURCES (LINUX_2_6_16): linux-2.6-vs2.1.patch - fix compilation on...

hawk hawk at pld-linux.org
Thu Jun 29 11:07:16 CEST 2006


Author: hawk                         Date: Thu Jun 29 09:07:16 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6_16
---- Log message:
- fix compilation on alpha

---- Files affected:
SOURCES:
   linux-2.6-vs2.1.patch (1.1.2.26 -> 1.1.2.26.2.1) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-vs2.1.patch
diff -u SOURCES/linux-2.6-vs2.1.patch:1.1.2.26 SOURCES/linux-2.6-vs2.1.patch:1.1.2.26.2.1
--- SOURCES/linux-2.6-vs2.1.patch:1.1.2.26	Fri May 26 17:11:24 2006
+++ SOURCES/linux-2.6-vs2.1.patch	Thu Jun 29 11:07:09 2006
@@ -235,7 +235,7 @@
  			break;
  	}
  	up_read(&uts_sem);
-@@ -607,17 +612,6 @@ osf_sigstack(struct sigstack __user *uss
+@@ -607,30 +612,30 @@ osf_sigstack(struct sigstack __user *uss
  asmlinkage long
  osf_sysinfo(int command, char __user *buf, long count)
  {
@@ -253,7 +253,13 @@
  	unsigned long offset;
  	char *res;
  	long len, err = -EINVAL;
-@@ -630,7 +624,18 @@ osf_sysinfo(int command, char __user *bu
+ 
+ 	offset = command-1;
+-	if (offset >= sizeof(sysinfo_table)/sizeof(char *)) {
++	if (offset >= 9) {
+ 		/* Digital UNIX has a few unpublished interfaces here */
+ 		printk("sysinfo(%d)", command);
+ 		goto out;
  	}
  	
  	down_read(&uts_sem);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-vs2.1.patch?r1=1.1.2.26&r2=1.1.2.26.2.1&f=u



More information about the pld-cvs-commit mailing list