Browse Source

Update broken link for initcall

The old link
(http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/index.html)
is 404ing. Replaced it with the same document on kernelnewbies.
pull/616/head
rmdashrf 1 year ago
parent
commit
e678006230
2 changed files with 5 additions and 5 deletions
  1. 2
    2
      Interrupts/linux-interrupts-9.md
  2. 3
    3
      Timers/linux-timers-6.md

+ 2
- 2
Interrupts/linux-interrupts-9.md View File

@@ -43,7 +43,7 @@ $ systemd-cgls -k | grep ksoft
43 43
 ├─  43 [ksoftirqd/7]
44 44
 ```
45 45
 
46
-The `spawn_ksoftirqd` function starts this these threads. As we can see this function called as early [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/index.html):
46
+The `spawn_ksoftirqd` function starts this these threads. As we can see this function called as early [initcall](https://kernelnewbies.org/Documents/InitcallMechanism):
47 47
 
48 48
 ```C
49 49
 early_initcall(spawn_ksoftirqd);
@@ -521,7 +521,7 @@ If you have any questions or suggestions, write me a comment or ping me at [twit
521 521
 Links
522 522
 --------------------------------------------------------------------------------
523 523
 
524
-* [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/index.html)
524
+* [initcall](https://kernelnewbies.org/Documents/InitcallMechanism)
525 525
 * [IF](https://en.wikipedia.org/wiki/Interrupt_flag)
526 526
 * [eflags](https://en.wikipedia.org/wiki/FLAGS_register)
527 527
 * [CPU masks](https://0xax.gitbooks.io/linux-insides/content/Concepts/linux-cpu-2.html)

+ 3
- 3
Timers/linux-timers-6.md View File

@@ -208,7 +208,7 @@ function which just reads and returns atomic counter from the `Main Counter Regi
208 208
 ACPI PM timer
209 209
 --------------------------------------------------------------------------------
210 210
 
211
-The seconds clock source is [ACPI Power Management Timer](http://uefi.org/sites/default/files/resources/ACPI_5.pdf). Implementation of this clock source is located in the [drivers/clocksource/acpi_pm.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/drivers/clocksource_acpi_pm.c) source code file and starts from the call of the `init_acpi_pm_clocksource` function during `fs` [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/kernel.html).
211
+The seconds clock source is [ACPI Power Management Timer](http://uefi.org/sites/default/files/resources/ACPI_5.pdf). Implementation of this clock source is located in the [drivers/clocksource/acpi_pm.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/drivers/clocksource_acpi_pm.c) source code file and starts from the call of the `init_acpi_pm_clocksource` function during `fs` [initcall](https://kernelnewbies.org/Documents/InitcallMechanism).
212 212
 
213 213
 If we will look at implementation of the `init_acpi_pm_clocksource` function, we will see that it starts from the check of the value of `pmtmr_ioport` variable:
214 214
 
@@ -368,7 +368,7 @@ static int __init init_tsc_clocksource(void)
368 368
 	}
369 369
 ```
370 370
 
371
-function. This function called during the `device` [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/kernel.html). We do it to be sure that the `Time Stamp Counter` clock source will be registered after the  [High Precision Event Timer](https://en.wikipedia.org/wiki/High_Precision_Event_Timer) clock source.
371
+function. This function called during the `device` [initcall](https://kernelnewbies.org/Documents/InitcallMechanism). We do it to be sure that the `Time Stamp Counter` clock source will be registered after the  [High Precision Event Timer](https://en.wikipedia.org/wiki/High_Precision_Event_Timer) clock source.
372 372
 
373 373
 After these all three clock sources will be registered in the `clocksource` framework and the `Time Stamp Counter` clock source will be selected as active, because it has the highest rating among other clock sources:
374 374
 
@@ -409,5 +409,5 @@ Links
409 409
 * [IA-PC HPET (High Precision Event Timers) Specification](http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf)
410 410
 * [IRQ0](https://en.wikipedia.org/wiki/Interrupt_request_%28PC_architecture%29#Master_PIC)
411 411
 * [i8259](https://en.wikipedia.org/wiki/Intel_8259)
412
-* [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/kernel.html)
412
+* [initcall](https://kernelnewbies.org/Documents/InitcallMechanism)
413 413
 * [previous part](https://0xax.gitbooks.io/linux-insides/content/Timers/linux-timers-5.html)

Loading…
Cancel
Save