| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2014 Synopsys, Inc. (www.synopsys.com) |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | 4 | */ |
|---|
| 9 | 5 | |
|---|
| 10 | 6 | #include <linux/interrupt.h> |
|---|
| .. | .. |
|---|
| 95 | 91 | |
|---|
| 96 | 92 | /* setup status32, don't enable intr yet as kernel doesn't want */ |
|---|
| 97 | 93 | tmp = read_aux_reg(ARC_REG_STATUS32); |
|---|
| 98 | | - tmp |= STATUS_AD_MASK | (ARCV2_IRQ_DEF_PRIO << 1); |
|---|
| 94 | + tmp |= ARCV2_IRQ_DEF_PRIO << 1; |
|---|
| 99 | 95 | tmp &= ~STATUS_IE_MASK; |
|---|
| 100 | 96 | asm volatile("kflag %0 \n"::"r"(tmp)); |
|---|
| 101 | 97 | } |
|---|