<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/asm-alpha, branch v2.6.15.5</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/asm-alpha?h=v2.6.15.5</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/asm-alpha?h=v2.6.15.5'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-02-10T07:20:17Z</updated>
<entry>
<title>[PATCH] __cmpxchg() must really always be inlined</title>
<updated>2006-02-10T07:20:17Z</updated>
<author>
<name>Steve Langasek</name>
<email>vorlon@debian.org</email>
</author>
<published>2006-02-08T06:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c93e834ed994db3290c88391af4c2eea5e3f5f1e'/>
<id>urn:sha1:c93e834ed994db3290c88391af4c2eea5e3f5f1e</id>
<content type='text'>
With the latest 2.6.15 kernel builds for alpha on Debian, we ran into a
problem with undefined references to __cmpxchg_called_with_bad_pointer() in
a couple of kernel modules (xfs.ko and drm.ko; see
http://bugs.debian.org/347556).

It looks like people have been trying to out-clever each other wrt the
definition of "inline" on this architecture :), with the result that
__cmpxchg(), which must be inlined so the compiler can see its argument is
const, is not guaranteed to be inlined.  Indeed, it was not being inlined
when building with -Os.

The attached patch fixes the issue by adding an
__attribute__((always_inline)) explicitly to the definition of __cmpxchg()
instead of relying on redefines of "inline" elsewhere to make this happen.

Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] mm: fill arch atomic64 gaps</title>
<updated>2005-11-24T00:08:39Z</updated>
<author>
<name>Hugh Dickins</name>
<email>hugh@veritas.com</email>
</author>
<published>2005-11-23T21:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c72aaf29621d29ed19fd68c44edb45321645049'/>
<id>urn:sha1:7c72aaf29621d29ed19fd68c44edb45321645049</id>
<content type='text'>
alpha, sparc64, x86_64 are each missing some primitives from their atomic64
support: fill in the gaps I've noticed by extrapolating asm, follow the
groupings in each file.  But powerpc and parisc still lack atomic64.

Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Andi Kleen &lt;ak@muc.de&gt;
Cc: Nick Piggin &lt;nickpiggin@yahoo.com.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] atomic: inc_not_zero</title>
<updated>2005-11-14T02:14:16Z</updated>
<author>
<name>Nick Piggin</name>
<email>nickpiggin@yahoo.com.au</email>
</author>
<published>2005-11-14T00:07:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8426e1f6af0fd7f44d040af7263750c5a52f3cc3'/>
<id>urn:sha1:8426e1f6af0fd7f44d040af7263750c5a52f3cc3</id>
<content type='text'>
Introduce an atomic_inc_not_zero operation.  Make this a special case of
atomic_add_unless because lockless pagecache actually wants
atomic_inc_not_negativeone due to its offset refcount.

Signed-off-by: Nick Piggin &lt;npiggin@suse.de&gt;
Cc: "Paul E. McKenney" &lt;paulmck@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] atomic: cmpxchg</title>
<updated>2005-11-14T02:14:16Z</updated>
<author>
<name>Nick Piggin</name>
<email>nickpiggin@yahoo.com.au</email>
</author>
<published>2005-11-14T00:07:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4a6dae6d382e9edf3ff440b819e554ed706359bc'/>
<id>urn:sha1:4a6dae6d382e9edf3ff440b819e554ed706359bc</id>
<content type='text'>
Introduce an atomic_cmpxchg operation.

Signed-off-by: Nick Piggin &lt;npiggin@suse.de&gt;
Cc: "Paul E. McKenney" &lt;paulmck@us.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ide: move CONFIG_IDE_MAX_HWIFS into linux/ide.h</title>
<updated>2005-11-09T21:58:07Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2005-11-09T21:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=83ae20c849f1bff32100fa8584408dca99ce4a62'/>
<id>urn:sha1:83ae20c849f1bff32100fa8584408dca99ce4a62</id>
<content type='text'>
CONFIG_IDE_MAX_HWIFS is a generic thing, no need to have it duplicated
by every arch that uses it.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;</content>
</entry>
<entry>
<title>[PATCH] consolidate sys_ptrace()</title>
<updated>2005-11-07T15:53:42Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2005-11-07T08:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=481bed454247538e9f57d4ea37b153ccba24ba7b'/>
<id>urn:sha1:481bed454247538e9f57d4ea37b153ccba24ba7b</id>
<content type='text'>
The sys_ptrace boilerplate code (everything outside the big switch
statement for the arch-specific requests) is shared by most architectures.
This patch moves it to kernel/ptrace.c and leaves the arch-specific code as
arch_ptrace.

Some architectures have a too different ptrace so we have to exclude them.
They continue to keep their implementations.  For sh64 I had to add a
sh64_ptrace wrapper because it does some initialization on the first call.
For um I removed an ifdefed SUBARCH_PTRACE_SPECIAL block, but
SUBARCH_PTRACE_SPECIAL isn't defined anywhere in the tree.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Paul Mackerras &lt;paulus@samba.org&gt;
Acked-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Acked-By: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix remaining missing includes</title>
<updated>2005-11-07T15:53:41Z</updated>
<author>
<name>Tim Schmielau</name>
<email>tim@physik3.uni-rostock.de</email>
</author>
<published>2005-11-07T08:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8c65b4a60450590e79a28e9717ceffa9e4debb3f'/>
<id>urn:sha1:8c65b4a60450590e79a28e9717ceffa9e4debb3f</id>
<content type='text'>
Fix more include file problems that surfaced since I submitted the previous
fix-missing-includes.patch.  This should now allow not to include sched.h
from module.h, which is done by a followup patch.

Signed-off-by: Tim Schmielau &lt;tim@physik3.uni-rostock.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] semaphore: Remove __MUTEX_INITIALIZER()</title>
<updated>2005-10-31T01:37:27Z</updated>
<author>
<name>Arthur Othieno</name>
<email>a.othieno@bluewin.ch</email>
</author>
<published>2005-10-30T23:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=727a53bd535fe3bde644ac346db27456ad964083'/>
<id>urn:sha1:727a53bd535fe3bde644ac346db27456ad964083</id>
<content type='text'>
__MUTEX_INITIALIZER() has no users, and equates to the more commonly used
DECLARE_MUTEX(), thus making it pretty much redundant.  Remove it for good.

Signed-off-by: Arthur Othieno &lt;a.othieno@bluewin.ch&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] add sem_is_read/write_locked()</title>
<updated>2005-10-30T04:40:35Z</updated>
<author>
<name>Rik Van Riel</name>
<email>riel@redhat.com</email>
</author>
<published>2005-10-30T01:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eb92f4ef320b738e41ad43476a5d05c8a20d5cc7'/>
<id>urn:sha1:eb92f4ef320b738e41ad43476a5d05c8a20d5cc7</id>
<content type='text'>
Add sem_is_read/write_locked functions to the read/write semaphores, along the
same lines of the *_is_locked spinlock functions.  The swap token tuning patch
uses sem_is_read_locked; sem_is_write_locked is added for completeness.

Signed-off-by: Rik van Riel &lt;riel@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix alpha breakage</title>
<updated>2005-10-30T04:40:35Z</updated>
<author>
<name>Ivan Kokshaysky</name>
<email>ink@jurassic.park.msu.ru</email>
</author>
<published>2005-10-30T01:15:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=63f324cf0792ed69089b79d6921ba3aaea97af50'/>
<id>urn:sha1:63f324cf0792ed69089b79d6921ba3aaea97af50</id>
<content type='text'>
barrier.h uses barrier() in non-SMP case.  And doesn't include compiler.h.

Cc: Al Viro &lt;viro@ftp.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
