]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: fix large nvram access
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Dec 2005 18:21:44 +0000 (19:21 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:53:31 +0000 (14:53 +1100)
commitf9ce299fc629d5c899a2e56b00e21f5da05cf590
treeda8f883f72d08f9534e9eca3bba662413b9bd865
parentd52771fce4e774fa786097d34412a057d487c697
[PATCH] powerpc: fix large nvram access

/dev/nvram uses the user-provided read/write size
for kmalloc, which fails, if a large number is passed.
This will always use a single page at most, which
can be expected to succeed.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/nvram_64.c