Skip to content

Commit

Permalink
checkpatch: ____cacheline_aligned et al are modifiers
Browse files Browse the repository at this point in the history
Add the cacheline alignment modifiers to the attribute lists.

Signed-off-by: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
awhitcroft authored and torvalds committed Oct 16, 2008
1 parent a1ef277 commit 24e1d81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@
const|
__read_mostly|
__kprobes|
__(?:mem|cpu|dev|)(?:initdata|init)
__(?:mem|cpu|dev|)(?:initdata|init)|
____cacheline_aligned|
____cacheline_aligned_in_smp|
____cacheline_internodealigned_in_smp
}x;
our $Modifier;
our $Inline = qr{inline|__always_inline|noinline};
Expand Down

0 comments on commit 24e1d81

Please sign in to comment.