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

Steve Langasek vorlon at costa.debian.org
Fri Jan 27 21:27:06 UTC 2006


Author: vorlon
Date: Fri Jan 27 21:27:05 2006
New Revision: 5607

Added:
   dists/sid/linux-2.6/debian/patches/alpha-cmpxchg-inline.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/4
Log:
[alpha] set __attribute__((always_inline)) on __cmpxchg(), to avoid wrong
optimizations with -Os (closes: #347556).



Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Fri Jan 27 21:27:05 2006
@@ -17,7 +17,11 @@
   [ maximilian attems ]
   * klibc has still troubles on sparc, use it for ia64.
 
- -- maximilian attems <maks at sternwelten.at>  Wed, 25 Jan 2006 20:58:19 +0100
+  [ Steve Langasek ]
+  * [alpha] set __attribute__((always_inline)) on __cmpxchg(), to avoid
+    wrong optimizations with -Os (closes: #347556).
+
+ -- Steve Langasek <vorlon at debian.org>  Fri, 27 Jan 2006 13:25:34 -0800
 	
 linux-2.6 (2.6.15-3) unstable; urgency=low
 

Added: dists/sid/linux-2.6/debian/patches/alpha-cmpxchg-inline.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/alpha-cmpxchg-inline.patch	Fri Jan 27 21:27:05 2006
@@ -0,0 +1,11 @@
+--- linux-2.6.15/include/asm-alpha/system.h.orig	2006-01-26 02:57:09.000000000 -0800
++++ linux-2.6.15/include/asm-alpha/system.h	2006-01-26 02:58:13.000000000 -0800
+@@ -562,7 +562,7 @@
+    if something tries to do an invalid cmpxchg().  */
+ extern void __cmpxchg_called_with_bad_pointer(void);
+ 
+-static inline unsigned long
++static inline __attribute__((always_inline)) unsigned long
+ __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size)
+ {
+ 	switch (size) {

Modified: dists/sid/linux-2.6/debian/patches/series/4
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/4	(original)
+++ dists/sid/linux-2.6/debian/patches/series/4	Fri Jan 27 21:27:05 2006
@@ -1,2 +1,3 @@
 + m68k-vmeints.patch
 + sparc64-jumping-time.patch
++ alpha-cmpxchg-inline.patch



More information about the Kernel-svn-changes mailing list