diff options
| author | Huang Shijie <[email protected]> | 2012-07-30 21:42:30 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-31 00:25:20 +0000 |
| commit | b2412b7fa7a3816fa8633dc2ff19f1a90aabe423 (patch) | |
| tree | 5059c916b993726b3b208859f35c8b59761f2656 /lib/cpu-notifier-error-inject.c | |
| parent | proc: do not allow negative offsets on /proc/<pid>/environ (diff) | |
| download | kernel-b2412b7fa7a3816fa8633dc2ff19f1a90aabe423.tar.gz kernel-b2412b7fa7a3816fa8633dc2ff19f1a90aabe423.zip | |
fork: use vma_pages() to simplify the code
The current code can be replaced by vma_pages(). So use it to simplify
the code.
[[email protected]: initialise `len' at its definition site]
Signed-off-by: Huang Shijie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
