OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5767273
)
Fix misc-macro-parentheses warnings in kexec_tools.
author
Chih-Hung Hsieh
<chh@google.com>
Wed, 18 May 2016 21:55:10 +0000
(14:55 -0700)
committer
Chih-Hung Hsieh
<chh@google.com>
Wed, 18 May 2016 21:55:10 +0000
(14:55 -0700)
Bug:
28705665
Change-Id: Ie9f5ffafd9a89f412d7a6495002ada50f18b645e
kexec_tools/kexecload.c
patch
|
blob
|
history
diff --git
a/kexec_tools/kexecload.c
b/kexec_tools/kexecload.c
index
18f5e64
..
2bf3d18
100644
(file)
--- a/
kexec_tools/kexecload.c
+++ b/
kexec_tools/kexecload.c
@@
-21,7
+21,7
@@
// Physical buffer address cannot overlap with other regions
#define START_ADDRESS 0x44000000
-#define ROUND_TO_PAGE(address,pagesize) ((
address + pagesize - 1) & (~(pagesize
- 1)))
+#define ROUND_TO_PAGE(address,pagesize) ((
(address) + (pagesize) - 1) & (~((pagesize)
- 1)))
/*
* Gives file position and resets current position to begining of file