mirror of
https://github.com/gatieme/LDD-LinuxDeviceDrivers.git
synced 2026-11-09 08:38:04 +08:00
内核栈thread_info...
This commit is contained in:
1 parent
d63b0c7a46
commit
ebc704ec70
1 file changed
+1
-1
@@ -61,7 +61,7 @@ unsigned long show_kstack(union thread_union *thread_union)
|
||||
unsigned long kstack_end = kstack + length;
|
||||
printk(KERN_INFO "sizeof(struct thread_info) : %d\n", sizeof(struct thread_info));
|
||||
printk(KERN_INFO "kstack start : %p\n", kstack + sizeof(struct thread_info));
|
||||
printk(KERN_INFO "kstack end : %p\n", kstack + length);
|
||||
printk(KERN_INFO "kstack end : %p\n", kstack + THREAD_SIZE);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user