[PATCH for -tip 0/2] Generic Alignment API

Mathieu Desnoyers
2010-08-21T14:23:10Z

Hi,

These two patches implement a generic alignment header needed by the "Generic
Ring Buffer" patchset and by xchg() fallback implementation on some ARM
architectures.

The goal of this patch is to move pointer alignment arithmetic to one single
location in the kernel rather than spreading these all over the place as this is
currently the case in the Linux kernel (especially when an alignment on the
floor value is needed).

I submit this patch for inclusion through -tip. Meanwhile, I will pull it in a
git tree (based on -tip) on top of which I will rebase the "Generic Ring Buffer"
patchset:

git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-ringbuffer.git
branch: tip-pull-queue

Ingo, to merge these patches, you can either take these 2 patches or pull from
the "tip-pull-queue", at your convenience (tip-pull-queue is based on
tip/master).