projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b040bc9
)
linux-user/main.c: Mark end_exclusive() as possibly unused
author
Peter Maydell
<peter.maydell@linaro.org>
Thu, 8 Jan 2015 12:19:47 +0000
(12:19 +0000)
committer
Riku Voipio
<riku.voipio@linaro.org>
Tue, 27 Jan 2015 20:33:57 +0000
(22:33 +0200)
The function end_exclusive() isn't used on all targets; mark it as
such to avoid a clang warning.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/main.c
patch
|
blob
|
history
diff --git
a/linux-user/main.c
b/linux-user/main.c
index 95e8a519ce9c598d2fc22a0e35bdbc5781bfbeb4..cfa7d07b7ae71e8356059060c6ad20f4974af0b1 100644
(file)
--- a/
linux-user/main.c
+++ b/
linux-user/main.c
@@
-169,7
+169,7
@@
static inline void start_exclusive(void)
}
/* Finish an exclusive operation. */
-static inline void end_exclusive(void)
+static inline void
__attribute__((unused))
end_exclusive(void)
{
pending_cpus = 0;
pthread_cond_broadcast(&exclusive_resume);