Function report | 
Source Code:kernel\smpboot.c | 
Create Date:2022-07-28 09:33:59 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:If CPU has died properly, set its state to CPU_UP_PREPARE and* return success
Proto:int cpu_check_up_prepare(int cpu)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | cpu | 
| 355 | atomic_set( & per_cpu(cpu_hotplug_state, cpu), CPU coming up ) | 
| 356 | Return 0 | 
| 361 | Case atomic_read( & per_cpu(cpu_hotplug_state, cpu)) == CPU successfully unplugged | 
| 364 | atomic_set( & per_cpu(cpu_hotplug_state, cpu), CPU coming up ) | 
| 365 | Return 0 | 
| 367 | Case atomic_read( & per_cpu(cpu_hotplug_state, cpu)) == CPU timed out on unplug | 
| 380 | Return -EBUSY | 
| 382 | Case atomic_read( & per_cpu(cpu_hotplug_state, cpu)) == CPU did not die properly | 
| 393 | Return -EAGAIN | 
| 395 | Default | 
| 398 | Return -EIO | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |