mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 01:49:48 +07:00
26602161b5
Check for CPU bugs when secondary processors are being brought online, and also when CPUs are resuming from a low power mode. This gives an opportunity to check that processor specific bug workarounds are correctly enabled for all paths that a CPU re-enters the kernel. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Boot-tested-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Tony Lindgren <tony@atomide.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
24 lines
546 B
C
24 lines
546 B
C
/*
|
|
* arch/arm/include/asm/bugs.h
|
|
*
|
|
* Copyright (C) 1995-2003 Russell King
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef __ASM_BUGS_H
|
|
#define __ASM_BUGS_H
|
|
|
|
extern void check_writebuffer_bugs(void);
|
|
|
|
#ifdef CONFIG_MMU
|
|
extern void check_bugs(void);
|
|
extern void check_other_bugs(void);
|
|
#else
|
|
#define check_bugs() do { } while (0)
|
|
#define check_other_bugs() do { } while (0)
|
|
#endif
|
|
|
|
#endif
|