mm: remove_memory(): fix end_pfn setting

remove_memory() calls walk_memory_range() with [start_pfn, end_pfn), where
end_pfn is exclusive in this range.  Therefore, end_pfn needs to be set to
the next page of the end address.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Jianguo Wu <wujianguo@huawei.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Wu Jianguo <wujianguo@huawei.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/fremap.c: fix oops on error path

If find_vma() fails, sys_remap_file_pages() will dereference `vma', which
contains NULL.  Fix it by checking the pointer.

(We could alternatively check for err==0, but this seems more direct)

(The vm_flags change is to squish a bogus used-uninitialised warning
without adding extra code).

Reported-by: Tommi Rantala <tt.rantala@gmail.com>
Cc: Michel Lespinasse <walken@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
random: entropy tweaks are all the rage nowadays

use nonblocking for all.  Read this web page:
http://lwn.net/Articles/489734/ - WIP

commit d19e78c01870bc32e40862b50881bb30fe046933 1 parent 709ec23
maxl authored a day ago voku committed in 12 hours
Disabled NIGHTMARE GOV, till alucard can make it more stable.
users report SODS and HOTBOOTS including me.

and some info about voltage table that is used.
Nightmare Gov is stable, maybe something in the kernel or initramfs is bugged!
Removed some useless settings!
Removed all 50Mhz steps! our CPU should work with 5 steps, we had 25!
People had SODS from first kernel with this change, lets get back our
STABILITY! i didnt see any GAIN from all that steps, only more work
and problems.

we tested, and best to have 15 steps!
Kernel 9.4 JB CM/AOKP ONLY
+ full sync ...
Merge remote-tracking branch 'dorimanx/master-jelly-cm-aokp' into master-3.0.y

+ ...