projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb-idl: Fix memory leak committing a no-op transaction.
[openvswitch]
/
lib
/
backtrace.c
diff --git
a/lib/backtrace.c
b/lib/backtrace.c
index 42ab8c48b70b59524c054530385f14c060b75cf7..2f47809326ddc9d380e558feb5c5625d31ffdaf8 100644
(file)
--- a/
lib/backtrace.c
+++ b/
lib/backtrace.c
@@
-73,6
+73,10
@@
stack_low(void)
uintptr_t low;
asm("movl %%esp,%0" : "=g" (low));
return low;
uintptr_t low;
asm("movl %%esp,%0" : "=g" (low));
return low;
+#elif __x86_64__
+ uintptr_t low;
+ asm("movq %%rsp,%0" : "=g" (low));
+ return low;
#else
/* This causes a warning in GCC that cannot be disabled, so use it only on
* non-x86. */
#else
/* This causes a warning in GCC that cannot be disabled, so use it only on
* non-x86. */