.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /** |
---|
2 | 3 | * SHA-256 routines supporting the Power 7+ Nest Accelerators driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2011-2012 International Business Machines Inc. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; version 2 only. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | | - * |
---|
15 | | - * You should have received a copy of the GNU General Public License |
---|
16 | | - * along with this program; if not, write to the Free Software |
---|
17 | | - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
18 | 6 | * |
---|
19 | 7 | * Author: Kent Yoder <yoder1@us.ibm.com> |
---|
20 | 8 | */ |
---|
.. | .. |
---|
162 | 150 | goto out; |
---|
163 | 151 | } |
---|
164 | 152 | |
---|
165 | | - rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, |
---|
166 | | - desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP); |
---|
| 153 | + rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); |
---|
167 | 154 | if (rc) |
---|
168 | 155 | goto out; |
---|
169 | 156 | |
---|
.. | .. |
---|
243 | 230 | goto out; |
---|
244 | 231 | } |
---|
245 | 232 | |
---|
246 | | - rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, |
---|
247 | | - desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP); |
---|
| 233 | + rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); |
---|
248 | 234 | if (rc) |
---|
249 | 235 | goto out; |
---|
250 | 236 | |
---|