qcacmn: Abstract the qdf_in_interrupt API
The qdf_in_interrupt API was defined in the internal Linux util file. Move the API from internal to qdf_util.h and provide the appropriate abstraction CRs-Fixed: 2853590 Change-Id: I512155776275684223c1901d789853d2529fcc83
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2021 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
|
||||
@@ -303,6 +303,11 @@ typedef __qdf_wait_queue_head_t qdf_wait_queue_head_t;
|
||||
*/
|
||||
#define qdf_ceil(x, y) __qdf_ceil(x, y)
|
||||
|
||||
/**
|
||||
* qdf_in_interrupt - returns true if in interrupt context
|
||||
*/
|
||||
#define qdf_in_interrupt __qdf_in_interrupt
|
||||
|
||||
/**
|
||||
* qdf_is_macaddr_equal() - compare two QDF MacAddress
|
||||
* @mac_addr1: Pointer to one qdf MacAddress to compare
|
||||
|
Reference in New Issue
Block a user