From e6780062303e83415aa8809f188e75b318a7a8c9 Mon Sep 17 00:00:00 2001 From: rmdashrf Date: Wed, 29 Aug 2018 00:30:19 -0700 Subject: [PATCH] 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. --- Interrupts/linux-interrupts-9.md | 4 ++-- Timers/linux-timers-6.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Interrupts/linux-interrupts-9.md b/Interrupts/linux-interrupts-9.md index 56b0a14..db76364 100644 --- a/Interrupts/linux-interrupts-9.md +++ b/Interrupts/linux-interrupts-9.md @@ -43,7 +43,7 @@ $ systemd-cgls -k | grep ksoft ├─ 43 [ksoftirqd/7] ``` -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): +The `spawn_ksoftirqd` function starts this these threads. As we can see this function called as early [initcall](https://kernelnewbies.org/Documents/InitcallMechanism): ```C early_initcall(spawn_ksoftirqd); @@ -521,7 +521,7 @@ If you have any questions or suggestions, write me a comment or ping me at [twit Links -------------------------------------------------------------------------------- -* [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/index.html) +* [initcall](https://kernelnewbies.org/Documents/InitcallMechanism) * [IF](https://en.wikipedia.org/wiki/Interrupt_flag) * [eflags](https://en.wikipedia.org/wiki/FLAGS_register) * [CPU masks](https://0xax.gitbooks.io/linux-insides/content/Concepts/linux-cpu-2.html) diff --git a/Timers/linux-timers-6.md b/Timers/linux-timers-6.md index 8569f13..4f041fb 100644 --- a/Timers/linux-timers-6.md +++ b/Timers/linux-timers-6.md @@ -208,7 +208,7 @@ function which just reads and returns atomic counter from the `Main Counter Regi ACPI PM timer -------------------------------------------------------------------------------- -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). +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). 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: @@ -368,7 +368,7 @@ static int __init init_tsc_clocksource(void) } ``` -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. +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. 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: @@ -409,5 +409,5 @@ Links * [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) * [IRQ0](https://en.wikipedia.org/wiki/Interrupt_request_%28PC_architecture%29#Master_PIC) * [i8259](https://en.wikipedia.org/wiki/Intel_8259) -* [initcall](http://www.compsoc.man.ac.uk/~moz/kernelnewbies/documents/initcall/kernel.html) +* [initcall](https://kernelnewbies.org/Documents/InitcallMechanism) * [previous part](https://0xax.gitbooks.io/linux-insides/content/Timers/linux-timers-5.html)