|
@@ -772,7 +772,7 @@ static void unlink_queue(struct sem_array *sma, struct sem_queue *q)
|
|
* modified the array.
|
|
* modified the array.
|
|
* Note that wait-for-zero operations are handled without restart.
|
|
* Note that wait-for-zero operations are handled without restart.
|
|
*/
|
|
*/
|
|
-static int check_restart(struct sem_array *sma, struct sem_queue *q)
|
|
|
|
|
|
+static inline int check_restart(struct sem_array *sma, struct sem_queue *q)
|
|
{
|
|
{
|
|
/* pending complex alter operations are too difficult to analyse */
|
|
/* pending complex alter operations are too difficult to analyse */
|
|
if (!list_empty(&sma->pending_alter))
|
|
if (!list_empty(&sma->pending_alter))
|