diff options
author | Wu Fengguang <[email protected]> | 2010-01-22 16:16:19 +0800 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-02-01 16:58:17 -0800 |
commit | 61ef2489dbf587258526cfd4ebf4bba3b079f401 (patch) | |
tree | 4806ed052c73d84821d958f306699b2a27da965e /net/lapb/lapb_iface.c | |
parent | ccef086454d4c97e7b722e9303390207d681cb4c (diff) |
resources: introduce generic page_is_ram()
It's based on walk_system_ram_range(), for archs that don't have
their own page_is_ram().
The static verions in MIPS and SCORE are also made global.
v4: prefer plain 1 instead of PAGE_IS_RAM (H. Peter Anvin)
v3: add comment (KAMEZAWA Hiroyuki)
"AFAIK, this "System RAM" information has been used for kdump to
grab valid memory area and seems good for the kernel itself."
v2: add PAGE_IS_RAM macro (Américo Wang)
Cc: Chen Liqin <[email protected]>
Cc: Lennox Wu <[email protected]>
Cc: Américo Wang <[email protected]>
Cc: [email protected]
Cc: Yinghai Lu <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Wu Fengguang <[email protected]>
LKML-Reference: <20100122081619.GA6431@localhost>
Cc: Andrew Morton <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions