[kernel] r6594 - in dists/sid/linux-2.6/debian: patches patches/series

Norbert Tretkowski nobse at costa.debian.org
Thu May 18 15:44:49 UTC 2006


Author: nobse
Date: Thu May 18 15:44:49 2006
New Revision: 6594

Added:
   dists/sid/linux-2.6/debian/patches/alpha-prctl.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/14

Log:
Readded patch to support prctl syscall, got lost when upgrading to 2.6.16.

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Thu May 18 15:44:49 2006
@@ -11,9 +11,13 @@
 
   [ dann frazier ]
   * cs4281 - Fix the check of timeout in probe to deal with variable HZ.
-    (closes: #361197)    
+    (closes: #361197)
 
- -- dann frazier <dannf at debian.org>  Mon, 15 May 2006 00:43:43 -0500
+  [ Norbert Tretkowski ]
+  * [alpha] Readded patch to support prctl syscall, got lost when upgrading
+    to 2.6.16.
+
+ -- Norbert Tretkowski <nobse at debian.org>  Thu, 18 May 2006 10:09:30 -0500
 
 linux-2.6 (2.6.16-13) unstable; urgency=low
 

Added: dists/sid/linux-2.6/debian/patches/alpha-prctl.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/alpha-prctl.patch	Thu May 18 15:44:49 2006
@@ -0,0 +1,32 @@
+diff --git a/include/asm-alpha/thread_info.h b/include/asm-alpha/thread_info.h
+index 69ffd93..011daaf 100644
+--- a/include/asm-alpha/thread_info.h
++++ b/include/asm-alpha/thread_info.h
+@@ -92,5 +92,27 @@ register struct thread_info *__current_t
+ #define _TIF_ALLWORK_MASK	(_TIF_WORK_MASK		\
+ 				 | _TIF_SYSCALL_TRACE)
+ 
++#define ALPHA_UAC_SHIFT		6
++#define ALPHA_UAC_MASK		(1 << TIF_UAC_NOPRINT | 1 << TIF_UAC_NOFIX | \
++				 1 << TIF_UAC_SIGBUS)
++
++#define SET_UNALIGN_CTL(task,value)	({				     \
++	(task)->thread_info->flags = (((task)->thread_info->flags &	     \
++		~ALPHA_UAC_MASK)					     \
++		| (((value) << ALPHA_UAC_SHIFT) & (1 << TIF_UAC_NOPRINT))    \
++		| (((value) << ALPHA_UAC_SHIFT + 1) & (1 << TIF_UAC_SIGBUS)) \
++		| (((value) << ALPHA_UAC_SHIFT - 1) & (1 << TIF_UAC_NOFIX)));\
++	0; })
++
++#define GET_UNALIGN_CTL(task,value)	({				\
++	put_user(((task)->thread_info->flags & (1 << TIF_UAC_NOPRINT))	\
++		  >> ALPHA_UAC_SHIFT					\
++		 | ((task)->thread_info->flags & (1 << TIF_UAC_SIGBUS))	\
++		  >> ALPHA_UAC_SHIFT + 1				\
++		 | ((task)->thread_info->flags & (1 << TIF_UAC_NOFIX))	\
++		  >> ALPHA_UAC_SHIFT - 1,				\
++		 (int __user *)(value));				\
++	})
++
+ #endif /* __KERNEL__ */
+ #endif /* _ALPHA_THREAD_INFO_H */

Modified: dists/sid/linux-2.6/debian/patches/series/14
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/14	(original)
+++ dists/sid/linux-2.6/debian/patches/series/14	Thu May 18 15:44:49 2006
@@ -1,2 +1,3 @@
 + 2.6.16.16
 + cs4281-probe-timeout.patch
++ alpha-prctl.patch



More information about the Kernel-svn-changes mailing list