summaryrefslogtreecommitdiff
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorChun-Hung Tseng <henrybear327@gmail.com>2021-09-15 17:02:18 +0800
committerPaul E. McKenney <paulmck@kernel.org>2021-11-30 17:25:20 -0800
commit24ba53017e188e031f9cb8b290286fad52d2af00 (patch)
tree15790489bf7e8977f17fefd28d7c2fb9053c1f26 /kernel/rcu/tree.c
parent8c0abfd6d2f6b0221194241ac2908751a2a0385f (diff)
rcu: Replace ________p1 and _________p1 with __UNIQUE_ID(rcu)
This commit replaces both ________p1 and _________p1 with __UNIQUE_ID(rcu), and also adjusts the callers of the affected macros. __UNIQUE_ID(rcu) will generate unique variable names during compilation, which eliminates the need of ________p1 and _________p1 (both having 4 occurrences prior to the code change). This also avoids the variable name shadowing issue, or at least makes those wishing to cause shadowing problems work much harder to do so. The same idea is used for the min/max macros (commit 589a978 and commit e9092d0). Signed-off-by: Jim Huang <jserv@ccns.ncku.edu.tw> Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree.c')
0 files changed, 0 insertions, 0 deletions