diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-10-16 01:02:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:35 -0400 |
commit | 24e1d81acd447c3a7ec9eb90f24c00edc5a4b09f (patch) | |
tree | e6b199e4a2a4f88329f02bd3919eb25bc1c8dea3 | |
parent | a1ef277e2c88c80cfa00580469133e2215442c8d (diff) |
checkpatch: ____cacheline_aligned et al are modifiers
Add the cacheline alignment modifiers to the attribute lists.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rwxr-xr-x | scripts/checkpatch.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1c032b1fa9eb..303c3634198b 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -113,7 +113,10 @@ our $Attribute = qr{ | |||
113 | const| | 113 | const| |
114 | __read_mostly| | 114 | __read_mostly| |
115 | __kprobes| | 115 | __kprobes| |
116 | __(?:mem|cpu|dev|)(?:initdata|init) | 116 | __(?:mem|cpu|dev|)(?:initdata|init)| |
117 | ____cacheline_aligned| | ||
118 | ____cacheline_aligned_in_smp| | ||
119 | ____cacheline_internodealigned_in_smp | ||
117 | }x; | 120 | }x; |
118 | our $Modifier; | 121 | our $Modifier; |
119 | our $Inline = qr{inline|__always_inline|noinline}; | 122 | our $Inline = qr{inline|__always_inline|noinline}; |