mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
Merge branch 'patch-1' of https://github.com/incrediblesound/linux-insides into incrediblesound-patch-1
This commit is contained in:
commit
a1c01ff077
@ -16,7 +16,7 @@ or
|
|||||||
arch_initcall(init_pit_clocksource);
|
arch_initcall(init_pit_clocksource);
|
||||||
```
|
```
|
||||||
|
|
||||||
in some parts of the Linux kernel. Before we see how this mechanism is implemented in the Linux kernel, we must know actually what is it and how the Linux kernel uses it. Definitions like these represent a [callback](https://en.wikipedia.org/wiki/Callback_%28computer_programming%29) function which will be called either during initialization of the Linux kernel or right after it. Actually the main point of the `initcall` mechanism is to determine correct order of the built-in modules and subsystems initialization. For example let's look at the following function:
|
in some parts of the Linux kernel. Before we will see how this mechanism is implemented in the Linux kernel, we must know actually what is it and how the Linux kernel uses it. Definitions like these represent a [callback](https://en.wikipedia.org/wiki/Callback_%28computer_programming%29) function which is will be called during initialization of the Linux kernel of right after. Actually the main point of the `initcall` mechanism is to determine correct order of the built-in modules and subsystems initialization. For example let's look at the following function:
|
||||||
|
|
||||||
```C
|
```C
|
||||||
static int __init nmi_warning_debugfs(void)
|
static int __init nmi_warning_debugfs(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user