mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-08 10:59:46 +00:00
Commit 26602161b5 upstream.
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>
Signed-off-by: David A. Long <dave.long@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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
|