aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitmap.c')
-rw-r--r--lib/bitmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 66421f304f7d..3f3b8051f342 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -649,6 +649,7 @@ int bitmap_parselist_user(const char __user *ubuf,
649EXPORT_SYMBOL(bitmap_parselist_user); 649EXPORT_SYMBOL(bitmap_parselist_user);
650 650
651 651
652#ifdef CONFIG_NUMA
652/** 653/**
653 * bitmap_pos_to_ord - find ordinal of set bit at given position in bitmap 654 * bitmap_pos_to_ord - find ordinal of set bit at given position in bitmap
654 * @buf: pointer to a bitmap 655 * @buf: pointer to a bitmap
@@ -952,6 +953,7 @@ void bitmap_fold(unsigned long *dst, const unsigned long *orig,
952 for_each_set_bit(oldbit, orig, nbits) 953 for_each_set_bit(oldbit, orig, nbits)
953 set_bit(oldbit % sz, dst); 954 set_bit(oldbit % sz, dst);
954} 955}
956#endif /* CONFIG_NUMA */
955 957
956/* 958/*
957 * Common code for bitmap_*_region() routines. 959 * Common code for bitmap_*_region() routines.