powerpc: Fix a number of sparse warnings
[linux-2.6-block.git] / arch / powerpc / platforms / pseries / lpar.c
index 8bad880bd177a2efaf9887b0509593401112aee4..60b6f4e8d63d3b262547018b5bd12b01a37f7b4f 100644 (file)
@@ -724,7 +724,7 @@ int h_get_mpp(struct hvcall_mpp_data *mpp_data)
 
        mpp_data->mem_weight = (retbuf[3] >> 7 * 8) & 0xff;
        mpp_data->unallocated_mem_weight = (retbuf[3] >> 6 * 8) & 0xff;
-       mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffff;
+       mpp_data->unallocated_entitlement = retbuf[3] & 0xffffffffffffUL;
 
        mpp_data->pool_size = retbuf[4];
        mpp_data->loan_request = retbuf[5];