From: Andy Whitcroft Date: Thu, 16 Oct 2008 05:02:18 +0000 (-0700) Subject: checkpatch: ____cacheline_aligned et al are modifiers X-Git-Tag: v2.6.28-rc1~492 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=24e1d81acd447c3a7ec9eb90f24c00edc5a4b09f;p=linux-2.6-omap-h63xx.git checkpatch: ____cacheline_aligned et al are modifiers Add the cacheline alignment modifiers to the attribute lists. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1c032b1fa9e..303c3634198 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -113,7 +113,10 @@ our $Attribute = qr{ 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};