commit | a83308e60f63749dc1d08acb0d8fa9e2ec13c9a7 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Tue Sep 11 15:23:47 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Sep 11 17:21:20 2007 -0700 |
tree | 6a71aead89fcd7b06cf121b8e9134cfe4ff0c259 | |
parent | f3d79b20df961880697c8442e1f7bc7969ce50a4 [diff] |
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>