mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
a1ef277e2c
commit
24e1d81acd
|
@ -113,7 +113,10 @@ our $Attribute = qr{
|
||||||
const|
|
const|
|
||||||
__read_mostly|
|
__read_mostly|
|
||||||
__kprobes|
|
__kprobes|
|
||||||
__(?:mem|cpu|dev|)(?:initdata|init)
|
__(?:mem|cpu|dev|)(?:initdata|init)|
|
||||||
|
____cacheline_aligned|
|
||||||
|
____cacheline_aligned_in_smp|
|
||||||
|
____cacheline_internodealigned_in_smp
|
||||||
}x;
|
}x;
|
||||||
our $Modifier;
|
our $Modifier;
|
||||||
our $Inline = qr{inline|__always_inline|noinline};
|
our $Inline = qr{inline|__always_inline|noinline};
|
||||||
|
|
Loading…
Reference in New Issue