From 19b584471d469ac5aeb9f530fcdf97c295ab6db3 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 30 May 2010 10:08:03 -0700 Subject: [PATCH] --- yaml --- r: 199433 b: refs/heads/master c: b3f2f6cd1ff935ecac9a5346904b899d7af689fe h: refs/heads/master i: 199431: da7334c5f38c8ce5aa6361c162795e9a9df52a60 v: v3 --- [refs] | 2 +- trunk/arch/ia64/mm/numa.c | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/[refs] b/[refs] index 572d5419a98f..dfb6d6321af8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 003386fff3e02e51cea882e60f7d28290113964c +refs/heads/master: b3f2f6cd1ff935ecac9a5346904b899d7af689fe diff --git a/trunk/arch/ia64/mm/numa.c b/trunk/arch/ia64/mm/numa.c index 2437718bd6b1..3efea7d0a351 100644 --- a/trunk/arch/ia64/mm/numa.c +++ b/trunk/arch/ia64/mm/numa.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include @@ -51,22 +50,6 @@ paddr_to_nid(unsigned long paddr) return (i < num_node_memblks) ? node_memblk[i].nid : (num_node_memblks ? -1 : 0); } -/* - * Return the bit number of a random bit set in the nodemask. - * (returns -1 if nodemask is empty) - */ -int __node_random(const nodemask_t *maskp) -{ - int w, bit = -1; - - w = nodes_weight(*maskp); - if (w) - bit = bitmap_ord_to_pos(maskp->bits, - get_random_int() % w, MAX_NUMNODES); - return bit; -} -EXPORT_SYMBOL(__node_random); - #if defined(CONFIG_SPARSEMEM) && defined(CONFIG_NUMA) /* * Because of holes evaluate on section limits.