]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Documentation/features: Allow comments in arch features files
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 10 Feb 2018 17:00:58 +0000 (12:00 -0500)
committerIngo Molnar <mingo@kernel.org>
Sun, 11 Feb 2018 11:18:50 +0000 (12:18 +0100)
commit26be459c9c4431984ad4b576f975ce6d3184d71d
tree7b1fc698365ddce7257ac96e931ef91ab3ee3375
parentf1517df8701c9f12dae9ce7f43a5d300a6917619
Documentation/features: Allow comments in arch features files

The list-arch.sh script considers lines beginning with "#" as match for
the feature table.

Given that those tables are never in lines beginning with "#",
add a reverse grep on "^#" when matching the "ok/TODO" state of
the architecture.

This allows adding comments within the feature files, for instance
describing the architecture requirements for the feature in each
architecture.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-doc@vger.kernel.org
Link: http://lkml.kernel.org/r/1518282058-24226-1-git-send-email-mathieu.desnoyers@efficios.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/features/list-arch.sh