Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Aufs5 Standalone
Commits
c9add47d
Commit
c9add47d
authored
Aug 03, 2019
by
J. R. Okajima
Browse files
Merge branch 'aufs5.1/30stdalone' into aufs5.1/39public
parents
1f6fed28
b4e00d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/uapi/linux/aufs_type.h
View file @
c9add47d
...
@@ -254,7 +254,11 @@ enum {
...
@@ -254,7 +254,11 @@ enum {
/* borrowed from linux/include/linux/kernel.h */
/* borrowed from linux/include/linux/kernel.h */
#ifndef ALIGN
#ifndef ALIGN
#ifdef _GNU_SOURCE
#define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1)
#define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1)
#else
#define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
#endif
#define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))
#define __ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment