am 190b6e26: ANativeWindow: fix up some comments
* commit '190b6e2698dc47ddb4888b9c51abb23f69fcf064':
ANativeWindow: fix up some comments
diff --git a/init/builtins.c b/init/builtins.c
index 0b9c0cf..661c9b1 100644
--- a/init/builtins.c
+++ b/init/builtins.c
@@ -330,6 +330,7 @@
unsigned flag;
} mount_flags[] = {
{ "noatime", MS_NOATIME },
+ { "noexec", MS_NOEXEC },
{ "nosuid", MS_NOSUID },
{ "nodev", MS_NODEV },
{ "nodiratime", MS_NODIRATIME },
diff --git a/libpixelflinger/fixed.cpp b/libpixelflinger/fixed.cpp
index 5b92062..5094537 100644
--- a/libpixelflinger/fixed.cpp
+++ b/libpixelflinger/fixed.cpp
@@ -62,7 +62,8 @@
int shift;
x = gglRecipQNormalized(x, &shift);
shift += 16-q;
- x += 1L << (shift-1); // rounding
+ if (shift > 0)
+ x += 1L << (shift-1); // rounding
x >>= shift;
return x;
}