cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

irq.h (395B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __ASM_IRQ_H
      3#define __ASM_IRQ_H
      4
      5#ifndef __ASSEMBLER__
      6
      7#include <asm-generic/irq.h>
      8
      9struct pt_regs;
     10
     11int set_handle_irq(void (*handle_irq)(struct pt_regs *));
     12#define set_handle_irq	set_handle_irq
     13int set_handle_fiq(void (*handle_fiq)(struct pt_regs *));
     14
     15static inline int nr_legacy_irqs(void)
     16{
     17	return 0;
     18}
     19
     20#endif /* !__ASSEMBLER__ */
     21#endif