PTR_ALIGN
authorMatthew Wilcox <matthew@wil.cx>
Tue, 11 Sep 2007 22:23:47 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 00:21:20 +0000 (17:21 -0700)
commita83308e60f63749dc1d08acb0d8fa9e2ec13c9a7
tree6a71aead89fcd7b06cf121b8e9134cfe4ff0c259
parentf3d79b20df961880697c8442e1f7bc7969ce50a4
PTR_ALIGN

The AdvanSys driver wants to align some pointers, and the ALIGN macro
doesn't work for pointers.  Rather than try to make it work, add a new
PTR_ALIGN macro which is typesafe.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h