diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-10-07 20:38:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-07 20:38:41 -0700 |
| commit | 4b4b90a7f898c69855751a7ac6554955f9eeef13 (patch) | |
| tree | ec3ce0ab03194c23888478bb60a6326ebbe990c9 /include | |
| parent | 168973c575d6645667f3945ed3530b19550bd721 (diff) | |
[PATCH] discontigmem fixes and cleanups
From Martin Bligh
This patch fixes a nasty bug that wli found in buffer.c which
cause an oops - we were using contig_page_data on a discontigmem
machine. It's a slightly modified version of the fix wli suggested,
tested on NUMA-Q.
I've also added code to not define contig_page_data for discontigmem
systems, to stop this from happening again. I wrapped a couple of
bootmem functions that were using it in #ifndef CONFIG_DISCONTIGMEM.
I suppose it's possible (though unlikely) that some other discontig
arch might need to wrap a couple of functions in their tree similarly,
but any borkage will just give a simple clear compiler error telling
them exactly where the problem is.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
