mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 16:36:48 +07:00
60063497a9
This allows us to move duplicated code in <asm/atomic.h> (atomic_inc_not_zero() for now) to <linux/atomic.h> Signed-off-by: Arun Sharma <asharma@fb.com> Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 lines
475 B
C
21 lines
475 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2000, 2001, 2002 by Ralf Baechle
|
|
*/
|
|
#ifndef __ASM_HW_IRQ_H
|
|
#define __ASM_HW_IRQ_H
|
|
|
|
#include <linux/atomic.h>
|
|
|
|
extern atomic_t irq_err_count;
|
|
|
|
/*
|
|
* interrupt-retrigger: NOP for now. This may not be appropriate for all
|
|
* machines, we'll see ...
|
|
*/
|
|
|
|
#endif /* __ASM_HW_IRQ_H */
|