]> git.karo-electronics.de Git - linux-beck.git/blob - arch/s390/kernel/bitmap.c
s390/bitops: remove CONFIG_SMP / simplify non-atomic bitops
[linux-beck.git] / arch / s390 / kernel / bitmap.c
1 /*
2  *    Bitmaps for set_bit, clear_bit, test_and_set_bit, ...
3  *    See include/asm/{bitops.h|posix_types.h} for details
4  *
5  *    Copyright IBM Corp. 1999, 2009
6  *    Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>,
7  */
8
9 #include <linux/bitops.h>
10 #include <linux/module.h>
11
12 const char _zb_findmap[] = {
13         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
14         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,
15         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
16         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,
17         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
18         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,
19         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
20         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,
21         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
22         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,
23         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
24         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,
25         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
26         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,
27         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
28         0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,8 };
29 EXPORT_SYMBOL(_zb_findmap);
30
31 const char _sb_findmap[] = {
32         8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
33         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
34         5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
35         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
36         6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
37         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
38         5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
39         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
40         7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
41         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
42         5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
43         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
44         6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
45         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
46         5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
47         4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0 };
48 EXPORT_SYMBOL(_sb_findmap);