OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a57d5b
)
Remove unused limits.h include and fix sys/mman.h include comment.
author
Carl Shapiro
<cshapiro@google.com>
Fri, 30 Jul 2010 02:51:53 +0000
(19:51 -0700)
committer
Carl Shapiro
<cshapiro@google.com>
Fri, 30 Jul 2010 02:51:53 +0000
(19:51 -0700)
Change-Id: I00299ca598af03da27be29867b71588c3aa81e83
vm/alloc/HeapBitmap.c
patch
|
blob
|
history
diff --git
a/vm/alloc/HeapBitmap.c
b/vm/alloc/HeapBitmap.c
index
2f412dc
..
1f4a9c9
100644
(file)
--- a/
vm/alloc/HeapBitmap.c
+++ b/
vm/alloc/HeapBitmap.c
@@
-17,8
+17,7
@@
#include "Dalvik.h"
#include "HeapBitmap.h"
#include "clz.h"
-#include <limits.h> // for ULONG_MAX
-#include <sys/mman.h> // for madvise(), mmap()
+#include <sys/mman.h> /* for PROT_* */
#define LIKELY(exp) (__builtin_expect((exp) != 0, true))
#define UNLIKELY(exp) (__builtin_expect((exp) != 0, false))