powerpc: Use unlocked ioctl in nvram_64
authorThomas Gleixner <tglx@linutronix.de>
Wed, 14 Oct 2009 22:42:28 +0000 (22:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Nov 2009 03:31:26 +0000 (14:31 +1100)
commit3b03fecd12c4f2a0a3ea33612606320ad23e64fe
tree95fd175c89478a4413b86a36d334ee45c7a08cb8
parent17e376756169af818c2e1c230502167cd1571a6c
powerpc: Use unlocked ioctl in nvram_64

The ioctl is only used for powermac systems and reads a partition
number from an array which is initialized at boot time way before the
nvram code is initialized. So it's safe to switch to unlocked_ioctl.

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>
arch/powerpc/kernel/nvram_64.c