system: increase memory field sizes to 64bit
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 11:32:36 +0000 (12:32 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 11:42:11 +0000 (12:42 +0100)
commit1791dc06ea8458bb54e723a320b0ee87098ab498
tree55083b3fa4ab5db1583bee3df556908095baa7d1
parentc48b19bbe127551ffb2b6d02b33ef78865341cfc
system: increase memory field sizes to 64bit

On an Alix APU board with 4GB of available ram, the total memory is reported
as "-179417088" bytes. Increase the ubus field sizes to 64bit integers in
order to avoid overflows.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
system.c