aboutsummaryrefslogtreecommitdiff
path: root/kernel/softlockup.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-09-18 22:45:51 +0200
committerJean Delvare <khali@linux-fr.org>2009-09-18 22:45:51 +0200
commit449d2c759ddba46a89b698bdc64bfc2f7cc5bb66 (patch)
treeb18c049b56cec341d1f1fb624c26d76772ea0807 /kernel/softlockup.c
parenta1867d36b3bda28314fdd832a510dc9e55821c4c (diff)
i2c-pnx: Correct use of request_region/request_mem_region
request_mem_region should be used when ioremap is used subsequently. release_region is then correspondingly replaced by release_mem_region. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ expression start,E; @@ - request_region + request_mem_region (start,...) ... when != request_mem_region(start,...) when != start = E ioremap(start,...) @@ expression r.start; @@ - release_region + release_mem_region (start,...) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Cc: Vitaly Wool <vitalywool@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'kernel/softlockup.c')
0 files changed, 0 insertions, 0 deletions