Nathan Fontenot 16c14b4621 powerpc/pseries: Remove kmalloc call in handling writes to lparcfg
There are only 4 valid name=value pairs for writes to
/proc/ppc64/lparcfg.  Current code allocates a buffer to copy
this information in from the user.  Since the longest name=value
pair will easily fit into a buffer of 64 characters, simply
put the buffer on the stack instead of allocating the buffer.

Signed-off-by: Nathan Fotenot <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-25 15:44:45 +10:00
..
2008-07-24 10:47:24 -07:00
2008-07-24 10:47:22 -07:00
2008-07-24 10:47:28 -07:00
2008-07-24 10:47:28 -07:00
2008-07-24 10:47:28 -07:00
2008-07-24 10:47:28 -07:00