git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ALSA] use the ALIGN macro
[safe/jmp/linux-2.6]
/
sound
/
core
/
sgbuf.c
diff --git
a/sound/core/sgbuf.c
b/sound/core/sgbuf.c
index
c30669f
..
cefd228
100644
(file)
--- a/
sound/core/sgbuf.c
+++ b/
sound/core/sgbuf.c
@@
-27,7
+27,7
@@
/* table entries are align to 32 */
#define SGBUF_TBL_ALIGN 32
/* table entries are align to 32 */
#define SGBUF_TBL_ALIGN 32
-#define sgbuf_align_table(tbl)
((((tbl) + SGBUF_TBL_ALIGN - 1) / SGBUF_TBL_ALIGN) *
SGBUF_TBL_ALIGN)
+#define sgbuf_align_table(tbl)
ALIGN((tbl),
SGBUF_TBL_ALIGN)
int snd_free_sgbuf_pages(struct snd_dma_buffer *dmab)
{
int snd_free_sgbuf_pages(struct snd_dma_buffer *dmab)
{