[PATCH 3.18 013/105] powerpc: Fix size calculation using resource_size()