浏览代码

Merge pull request #540 from jenglamlow/patch-2

Update link for check_cpu function
0xAX 7 年之前
父节点
当前提交
55d9b2acf1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {