]> git.baikalelectronics.ru Git - kernel.git/commit
kernel-doc: add support for ____cacheline_aligned_in_smp attribute
authorAndré Almeida <andrealmeid@collabora.com>
Tue, 17 Sep 2019 19:41:46 +0000 (16:41 -0300)
committerJonathan Corbet <corbet@lwn.net>
Tue, 1 Oct 2019 12:57:17 +0000 (06:57 -0600)
commita4dd883e679596d9ca5f33d1770602566f909317
tree5fecb67c456ed94e2c594f005fb054ae6d5f7eca
parent905ccb4340473602f803e54f5d88202647cc6c9a
kernel-doc: add support for ____cacheline_aligned_in_smp attribute

Subroutine dump_struct uses type attributes to check if the struct
syntax is valid. Then, it removes all attributes before using it for
output. `____cacheline_aligned_in_smp` is an attribute that is
not included in both steps. Add it, since it is used by kernel structs.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc