18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * OpenRISC Linux
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Linux architectural port borrowing liberally from similar works of
68c2ecf20Sopenharmony_ci * others.  All original copyrights apply as per the original source
78c2ecf20Sopenharmony_ci * declaration.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * OpenRISC implementation:
108c2ecf20Sopenharmony_ci * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
118c2ecf20Sopenharmony_ci * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
128c2ecf20Sopenharmony_ci * et al.
138c2ecf20Sopenharmony_ci */
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#ifndef ___ASM_OPENRISC_IRQFLAGS_H
168c2ecf20Sopenharmony_ci#define ___ASM_OPENRISC_IRQFLAGS_H
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#include <asm/spr_defs.h>
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#define ARCH_IRQ_DISABLED        0x00
218c2ecf20Sopenharmony_ci#define ARCH_IRQ_ENABLED         (SPR_SR_IEE|SPR_SR_TEE)
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#include <asm-generic/irqflags.h>
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif /* ___ASM_OPENRISC_IRQFLAGS_H */
26