Unverified Commit 3d4f6035 authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1268 from jeenu-arm/ehf-pri-fix

EHF: Fix priority check
parents 885b7c85 db1631ef
/*
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
......@@ -201,7 +201,7 @@ void ehf_deactivate_priority(unsigned int priority)
else
old_mask = plat_ic_set_priority_mask(priority);
if (old_mask >= priority) {
if (old_mask > priority) {
ERROR("Deactivation priority (0x%x) lower than Priority Mask (0x%x)\n",
priority, old_mask);
panic();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment