/*
*
- * (C) COPYRIGHT 2011-2016 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2011-2015 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* The locking conditions on the caller are as follows:
* - it will be holding kbasep_js_kctx_info::ctx::jsctx_mutex.
* - it will be holding kbasep_js_device_data::runpool_mutex.
- * - it will be holding hwaccess_lock (a spinlock)
+ * - it will be holding kbasep_js_device_data::runpool_irq::lock (a spinlock)
*
* Due to a spinlock being held, this function must not call any APIs that sleep.
*/
* The locking conditions on the caller are as follows:
* - it will be holding kbasep_js_kctx_info::ctx::jsctx_mutex.
* - it will be holding kbasep_js_device_data::runpool_mutex.
- * - it will be holding hwaccess_lock (a spinlock)
+ * - it will be holding kbasep_js_device_data::runpool_irq::lock (a spinlock)
*
* Due to a spinlock being held, this function must not call any APIs that sleep.
*/
* @brief Indicate whether a context should be removed from the Run Pool
* (should be scheduled out).
*
- * The hwaccess_lock will be held by the caller.
+ * The kbasep_js_device_data::runpool_irq::lock will be held by the caller.
*
* @note This API is called from IRQ context.
*/
* the policy that the job should be run again at some point later.
*
* The caller has the following conditions on locking:
- * - hwaccess_lock (a spinlock) will be held.
+ * - kbasep_js_device_data::runpool_irq::lock (a spinlock) will be held.
* - kbasep_js_device_data::runpool_mutex will be held.
* - kbasep_js_kctx_info::ctx::jsctx_mutex will be held.
*/
* @note This API is called from IRQ context.
*
* The caller has the following conditions on locking:
- * - hwaccess_lock will be held.
+ * - kbasep_js_device_data::runpool_irq::lock will be held.
*
* @param js_policy job scheduler policy
* @param katom job dispatch atom