]> git.baikalelectronics.ru Git - kernel.git/commit
gru: handle blades without memory
authorJack Steiner <steiner@sgi.com>
Wed, 16 Dec 2009 00:48:03 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:14 +0000 (07:20 -0800)
commit941a349c8173b638fc797830d14b77f6b6ba8ce2
tree2260823536e4199b9e4d2acb0b4c455877f4f391
parent84cc26712e6250ba0f8058954b73a0059997a07c
gru: handle blades without memory

Do not use alloc_pages_exact_node() to allocate GRU tables.  If a blade
has no local memory, nid will be -1.  Use alloc_pages_node() instead.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-gru/grufile.c