summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-02 11:17:05 (GMT)
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 10:59:14 (GMT)
commit60362158e2419b20cc04d43a6ffa60c1845775dc (patch)
tree5c255d6b869bd98592b862a31dc79110df91557a /lib/Makefile
parent16bc0fe5ce84df89c8e802be210af88721d4cc4f (diff)
downloadlinux-fsl-qoriq-60362158e2419b20cc04d43a6ffa60c1845775dc.tar.xz
CRIS: gpio: don't call copy_to_user()/copy_from_user() while holding spinlocks
copy_to_user()/copy_from_user() must not be used with spinlocks held. Move locks inside each case so we have better control of when the locks are held. Also, since we use spinlocks, we don't need to hold the BKL, so remove it. Reported-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions