Jelajahi Sumber

Merge pull request #540 from jenglamlow/patch-2

Update link for check_cpu function
0xAX 7 tahun lalu
induk
melakukan
55d9b2acf1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Booting/linux-bootstrap-2.md

+ 1 - 1
Booting/linux-bootstrap-2.md

@@ -343,7 +343,7 @@ CPU validation
 
 The next step as we can see is cpu validation by `validate_cpu` from [arch/x86/boot/cpu.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/boot/cpu.c).
 
-It calls the [`check_cpu`](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/boot/cpucheck.c#L102) function and passes cpu level and required cpu level to it and checks that the kernel launches on the right cpu level.
+It calls the [`check_cpu`](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/boot/cpucheck.c#L112) function and passes cpu level and required cpu level to it and checks that the kernel launches on the right cpu level.
 ```c
 check_cpu(&cpu_level, &req_level, &err_flags);
 if (cpu_level < req_level) {