Unverified Commit 6d42798c authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4025 crypto: hisilicon - replace 'smp_processor_id' with the raw version of the macro

parents 9c16bc9b f69412d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ MODULE_PARM_DESC(vfs_num, "Number of VFs to enable(1-63), 0(default)");

struct hisi_qp *hpre_create_qp(void)
{
	int node = cpu_to_node(smp_processor_id());
	int node = cpu_to_node(raw_smp_processor_id());
	struct hisi_qp *qp = NULL;
	int ret;

+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ MODULE_DEVICE_TABLE(pci, hisi_rde_dev_ids);

struct hisi_qp *rde_create_qp(void)
{
	int node = cpu_to_node(smp_processor_id());
	int node = cpu_to_node(raw_smp_processor_id());
	struct hisi_qp *qp;
	int ret;

+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ void sec_destroy_qps(struct hisi_qp **qps, int qp_num)

struct hisi_qp **sec_create_qps(void)
{
	int node = cpu_to_node(smp_processor_id());
	int node = cpu_to_node(raw_smp_processor_id());
	u32 ctx_num = ctx_q_num;
	struct hisi_qp **qps;
	int ret;
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ MODULE_DEVICE_TABLE(pci, hisi_zip_dev_ids);

int zip_create_qps(struct hisi_qp **qps, int ctx_num)
{
	int node = cpu_to_node(smp_processor_id());
	int node = cpu_to_node(raw_smp_processor_id());

	return hisi_qm_alloc_qps_node(node, &zip_devices,
					qps, ctx_num, 0);