mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
Fix typo
This commit is contained in:
parent
99138e0932
commit
6153b92ec2
@ -20,7 +20,7 @@ So, the main goal of this part is to see how `bit arrays` are implemented in the
|
|||||||
Declaration of bit array
|
Declaration of bit array
|
||||||
================================================================================
|
================================================================================
|
||||||
|
|
||||||
Before we will look on `API` for bitmaps manipulation, we must know how to declare it in the Linux kernel. There are two common method to declare own bit array. The first simple way to declrae a bit array is to array of `unsigned long`. For example:
|
Before we will look on `API` for bitmaps manipulation, we must know how to declare it in the Linux kernel. There are two common method to declare own bit array. The first simple way to declare a bit array is to array of `unsigned long`. For example:
|
||||||
|
|
||||||
```C
|
```C
|
||||||
unsigned long my_bitmap[8]
|
unsigned long my_bitmap[8]
|
||||||
|
Loading…
Reference in New Issue
Block a user