mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
8acc8722d3
Having cpu_data as a parameterless macro can easily cause build failures because it can be a variable name like in linux/pm_domain.h [1]. So, remove the macro and convert its only user. Because this architecture cannot do SMP, remove the whole SMP block, too. Only compile tested due to no hardware. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> [1] https://lists.01.org/pipermail/kbuild-all/2014-February/003252.html
16 lines
306 B
C
16 lines
306 B
C
/*
|
|
* This is included by init/main.c to check for architecture-dependent bugs.
|
|
*
|
|
* Needs:
|
|
* void check_bugs(void);
|
|
*/
|
|
#ifndef __ASM_AVR32_BUGS_H
|
|
#define __ASM_AVR32_BUGS_H
|
|
|
|
static void __init check_bugs(void)
|
|
{
|
|
boot_cpu_data.loops_per_jiffy = loops_per_jiffy;
|
|
}
|
|
|
|
#endif /* __ASM_AVR32_BUGS_H */
|