[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)
/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>

No differences found