]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/parisc/kernel/perf.c
[PARISC] Remove {,un}lock_kernel from perf ioctl
[mv-sheeva.git] / arch / parisc / kernel / perf.c
index 11178ccbb89a90a5160848c8070628ff27a8e10c..53f861c82f93d5d462144aa0501689152785b359 100644 (file)
@@ -444,7 +444,6 @@ static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
        uint32_t raddr[4];
        int error = 0;
 
-       lock_kernel();
        switch (cmd) {
 
            case PA_PERF_ON:
@@ -477,8 +476,6 @@ static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                        error = -ENOTTY;
        }
 
-       unlock_kernel();
-
        return error;
 }