diff options
author | Frans Kaashoek <[email protected]> | 2010-07-02 17:45:37 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2010-07-02 17:45:37 -0400 |
commit | 74c82bc1584dda4cee6b0788055a52c32a10b2e0 (patch) | |
tree | b387617e919d4a3805f1410471a29292d6295781 /spinlock.c | |
parent | 40889627ba50db29a64bc6a1553c2b21e6a99b78 (diff) | |
download | xv6-labs-74c82bc1584dda4cee6b0788055a52c32a10b2e0.tar.gz xv6-labs-74c82bc1584dda4cee6b0788055a52c32a10b2e0.tar.bz2 xv6-labs-74c82bc1584dda4cee6b0788055a52c32a10b2e0.zip |
nits
Diffstat (limited to 'spinlock.c')
-rw-r--r-- | spinlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ getcallerpcs(void *v, uint pcs[]) ebp = (uint*)v - 2; for(i = 0; i < 10; i++){ - if(ebp == 0 || ebp < 0x100000 || ebp == (uint*)0xffffffff) + if(ebp == 0 || ebp < (uint *) 0x100000 || ebp == (uint*)0xffffffff) break; pcs[i] = ebp[1]; // saved %eip ebp = (uint*)ebp[0]; // saved %ebp |