projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26c28e
)
Restore __ALIGN_MASK()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 13 Apr 2010 12:09:15 +0000
(14:09 +0200)
committer
Patrick McHardy
<kaber@trash.net>
Tue, 13 Apr 2010 12:09:15 +0000
(14:09 +0200)
Fix lib/bitmap.c compile failure due to __ALIGN_KERNEL changes.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/kernel.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/kernel.h
b/include/linux/kernel.h
index 284ea995646eafff71eebee1d76f834badcc6c19..db6717d0fd6f81bff1dc038d3a36583b59187e80 100644
(file)
--- a/
include/linux/kernel.h
+++ b/
include/linux/kernel.h
@@
-40,6
+40,7
@@
extern const char linux_proc_banner[];
#define STACK_MAGIC 0xdeadbeef
#define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
+#define __ALIGN_MASK(x, mask) __ALIGN_KERNEL_MASK((x), (mask))
#define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a)))
#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)