From: Thomas Gleixner Date: Thu, 15 Oct 2009 10:28:38 +0000 (+0000) Subject: macintosh: Remove BKL from nvram driver X-Git-Tag: v2.6.33-rc1~293^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b048c7a1d7f65e3e3f77834c03237be9d6d94b7;p=pandora-kernel.git 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 Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@ozlabs.org Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed