|
@@ -510,10 +510,10 @@ static ssize_t update_ppp(u64 *entitlement, u8 *weight)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
pr_debug("%s: current_entitled = %lu, current_weight = %u\n",
|
|
pr_debug("%s: current_entitled = %lu, current_weight = %u\n",
|
|
- __FUNCTION__, ppp_data.entitlement, ppp_data.weight);
|
|
|
|
|
|
+ __func__, ppp_data.entitlement, ppp_data.weight);
|
|
|
|
|
|
pr_debug("%s: new_entitled = %lu, new_weight = %u\n",
|
|
pr_debug("%s: new_entitled = %lu, new_weight = %u\n",
|
|
- __FUNCTION__, new_entitled, new_weight);
|
|
|
|
|
|
+ __func__, new_entitled, new_weight);
|
|
|
|
|
|
retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight);
|
|
retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight);
|
|
return retval;
|
|
return retval;
|
|
@@ -556,10 +556,10 @@ static ssize_t update_mpp(u64 *entitlement, u8 *weight)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
pr_debug("%s: current_entitled = %lu, current_weight = %u\n",
|
|
pr_debug("%s: current_entitled = %lu, current_weight = %u\n",
|
|
- __FUNCTION__, mpp_data.entitled_mem, mpp_data.mem_weight);
|
|
|
|
|
|
+ __func__, mpp_data.entitled_mem, mpp_data.mem_weight);
|
|
|
|
|
|
pr_debug("%s: new_entitled = %lu, new_weight = %u\n",
|
|
pr_debug("%s: new_entitled = %lu, new_weight = %u\n",
|
|
- __FUNCTION__, new_entitled, new_weight);
|
|
|
|
|
|
+ __func__, new_entitled, new_weight);
|
|
|
|
|
|
rc = plpar_hcall_norets(H_SET_MPP, new_entitled, new_weight);
|
|
rc = plpar_hcall_norets(H_SET_MPP, new_entitled, new_weight);
|
|
return rc;
|
|
return rc;
|