diff options
author | 2008-07-24 05:10:46 +1000 | |
---|---|---|
committer | 2008-07-25 15:44:45 +1000 | |
commit | 16c14b4621c7b6fc4611abf1f86cd78cdb1b2b03 (patch) | |
tree | 3e6ce7b3b7b040667573b019f60227c2f86c0762 /include/linux/hugetlb.h | |
parent | powerpc/pseries: Update arch vector to indicate support for CMO (diff) | |
download | wireguard-linux-16c14b4621c7b6fc4611abf1f86cd78cdb1b2b03.tar.xz wireguard-linux-16c14b4621c7b6fc4611abf1f86cd78cdb1b2b03.zip |
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>
Diffstat (limited to 'include/linux/hugetlb.h')
0 files changed, 0 insertions, 0 deletions