stm class: Mark src::link __rcu
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Tue, 6 Oct 2015 09:47:17 +0000 (12:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Oct 2015 19:24:47 +0000 (12:24 -0700)
commit0df771dedf67622b9135709fe4cbfb3222481997
tree85ec2ce5e1b233cd2782fe1077bb66e78ad552f6
parentfab6266e82a8981cccec55af47589665daf69fb6
stm class: Mark src::link __rcu

Source device's link is protected with srcu, mark it as such to have
proper build-time validation of accesses to this field. The update
side that's dereferencing it under an update lock also needs an
accessor to dereference this field to keep sparse happy.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/stm/core.c
drivers/hwtracing/stm/stm.h