projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bca34f
)
- use default MEMSIZE in check_for_ppc
author
Adrian Schröter
<adrian@suse.de>
Thu, 30 Aug 2012 14:38:11 +0000
(16:38 +0200)
committer
Adrian Schröter
<adrian@suse.de>
Thu, 30 Aug 2012 14:39:00 +0000
(16:39 +0200)
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
67368e1
..
ab7a3c5
100755
(executable)
--- a/
build
+++ b/
build
@@
-765,7
+765,7
@@
check_for_ppc()
exit 1
fi
PAGES_FREE=$(cat /sys/kernel/mm/hugepages/hugepages-16384kB/free_hugepages)
- PAGES_REQ=$(( $
MEMSIZE
/ 16 ))
+ PAGES_REQ=$(( $
{MEMSIZE:-64}
/ 16 ))
if [ "$PAGES_FREE" -lt "$PAGES_REQ" ];then
echo "please adjust nr_hugepages"
exit 1