Several files define the ARRAY_SIZE() macro as used in Linux. Provide a common definition for this in include/compiler.h. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 |
|
|
30 | 29 |
|
31 | 30 |
|
32 | 31 |
|
|
||
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
38 |
|
|
39 | 37 |
|
40 | 38 |
|
41 | 39 |
|
|
||
36 | 36 |
|
37 | 37 |
|
38 | 38 |
|
39 |
|
|
40 |
|
|
41 | 39 |
|
42 | 40 |
|
43 | 41 |
|
|
||
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 |
|
|
27 |
|
|
28 | 26 |
|
29 | 27 |
|
30 | 28 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
34 | 33 |
|
35 | 34 |
|
36 | 35 |
|
|
||
323 | 322 |
|
324 | 323 |
|
325 | 324 |
|
326 |
|
|
325 |
|
|
327 | 326 |
|
328 | 327 |
|
329 | 328 |
|
|
||
552 | 551 |
|
553 | 552 |
|
554 | 553 |
|
555 |
|
|
554 |
|
|
556 | 555 |
|
557 | 556 |
|
558 | 557 |
|
|
||
65 | 65 |
|
66 | 66 |
|
67 | 67 |
|
68 |
|
|
69 |
|
|
70 |
|
|
71 | 68 |
|
72 | 69 |
|
73 | 70 |
|
|
||
3284 | 3284 |
|
3285 | 3285 |
|
3286 | 3286 |
|
3287 |
|
|
3288 |
|
|
3289 | 3287 |
|
3290 | 3288 |
|
3291 | 3289 |
|
|
||
27 | 27 |
|
28 | 28 |
|
29 | 29 |
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 | 30 |
|
35 | 31 |
|
36 | 32 |
|
|
||
655 | 655 |
|
656 | 656 |
|
657 | 657 |
|
658 |
|
|
659 |
|
|
660 |
|
|
661 |
|
|
662 |
|
|
663 |
|
|
664 |
|
|
658 | 665 |
|
659 | 666 |
|
660 | 667 |
|