checkpatch: Create table of obsolete APIs and apply to RCU
authorJoe Perches <joe@perches.com>
Fri, 7 Sep 2018 22:26:18 +0000 (15:26 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Mon, 12 Nov 2018 17:03:59 +0000 (09:03 -0800)
commit9189c7e706038a508567cb2e46ccdb68b08f4ac7
treee4f2f7b4c1d655edf553ebfeeaabe9939f7d9cde
parentb430c588bed984e4ed524e519a8c78862e94f1b3
checkpatch: Create table of obsolete APIs and apply to RCU

This patch creates a deprecated_apis map, which allows such APIs to
be flagged with suggested replacements more compactly and straightforwardly.
It also uses this map to flag the old flavorful RCU APIs as deprecated,
suggesting their vanilla-RCU counterparts as replacements.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
[ paulmck: Merged with earlier less-deft approach. ]
scripts/checkpatch.pl