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)
commit9178052fda2f934535f0b9940b987c3ac4c51bd7
tree2260823536e4199b9e4d2acb0b4c455877f4f391
parentb61fc69bb61838e99b368d208e6e2ee363eba2a1
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