qcacmn: Add high priority ordered workqueue APIs

Add APIs to support creation of a high priority, ordered, unbound
workqueue.

Change-Id: Ib7e39a7ca3fcc9ee1ed8886ca62c312a3e3e46a2
CRs-Fixed: 2602029
This commit is contained in:
Mohit Khanna
2020-02-07 11:35:07 -08:00
committed by nshrivas
parent 2877d23b09
commit e05c287f31
2 changed files with 26 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -126,6 +126,18 @@ static inline qdf_workqueue_t *qdf_create_singlethread_workqueue(char *name)
return __qdf_create_singlethread_workqueue(name);
}
/**
* qdf_alloc_high_prior_ordered_workqueue - alloc high-prior ordered workqueue
* @name: string
*
* Return: pointer of type qdf_workqueue_t
*/
static inline
qdf_workqueue_t *qdf_alloc_high_prior_ordered_workqueue(char *name)
{
return __qdf_alloc_high_prior_ordered_workqueue(name);
}
/**
* qdf_alloc_unbound_workqueue - allocate an unbound workqueue
* @name: string