diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-10-15 10:28:38 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-11-24 14:31:27 +1100 |
commit | 0b048c7a1d7f65e3e3f77834c03237be9d6d94b7 (patch) | |
tree | 4db27dad27e2809a7695f4bb8ffb0eec9b2f4522 /kernel/pid.c | |
parent | 3b03fecd12c4f2a0a3ea33612606320ad23e64fe (diff) |
macintosh: Remove BKL from nvram driver
Drop the bkl from nvram_llseek() as it obviously protects nothing. The
file offset is safe in essence.
The ioctl can be converted to unlocked_ioctl because it just calls
pmac_get_partition() which reads a value from an array which was
initialized at early boot time. No need for serialization.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions