File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -386,8 +386,6 @@ static inline bool amd_mce_is_memory_error(struct mce *m) { return false; };
386
386
static inline void mce_amd_feature_init (struct cpuinfo_x86 * c ) { }
387
387
#endif
388
388
389
- static inline void mce_hygon_feature_init (struct cpuinfo_x86 * c ) { return mce_amd_feature_init (c ); }
390
-
391
389
unsigned long copy_mc_fragile_handle_tail (char * to , char * from , unsigned len );
392
390
393
391
#endif /* _ASM_X86_MCE_H */
Original file line number Diff line number Diff line change @@ -2118,13 +2118,9 @@ static void __mcheck_cpu_init_vendor(struct cpuinfo_x86 *c)
2118
2118
mce_intel_feature_init (c );
2119
2119
break ;
2120
2120
2121
- case X86_VENDOR_AMD : {
2122
- mce_amd_feature_init (c );
2123
- break ;
2124
- }
2125
-
2121
+ case X86_VENDOR_AMD :
2126
2122
case X86_VENDOR_HYGON :
2127
- mce_hygon_feature_init (c );
2123
+ mce_amd_feature_init (c );
2128
2124
break ;
2129
2125
2130
2126
case X86_VENDOR_CENTAUR :
You can’t perform that action at this time.
0 commit comments