commit | a4dbf0ec2aa3e8aca6e63f598095750c232d50f1 | [log] [tgz] |
---|---|---|
author | Yuanhan Liu <yuanhan.liu@linux.intel.com> | Thu May 26 16:25:51 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 26 17:12:37 2011 -0700 |
tree | 38ceee9851536b3f5969d642afb9614fba826f8e | |
parent | e130aa70f438855b4a0e13a5249951da001798d4 [diff] |
proc/stat: use defined macro KMALLOC_MAX_SIZE There is a macro for the max size kmalloc can allocate, so use it instead of a hardcoded number. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>