diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-23 02:03:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:52 -0700 |
commit | bd1e22b8e0a90f9a91e4c27db14ca15773659bf7 (patch) | |
tree | 8d32bdc39977af9dd3ba577b1fa34c0106b7f18e /crypto/digest.c | |
parent | e0a42726794f71336ff4b26084d453dd597471ce (diff) |
[PATCH] initialise total_memory() earlier
Initialise total_memory earlier in boot. Because if for some reason we run
page reclaim early in boot, we don't want total_memory to be zero when we use
it as a divisor.
And rename total_memory to vm_total_pages to avoid naming clashes with
architectures.
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Martin Bligh <mbligh@google.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto/digest.c')
0 files changed, 0 insertions, 0 deletions