| diff -aurp a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c |
| |
| |
| @@ -52,6 +52,13 @@ |
| |
| #include "mce-internal.h" |
| |
| +#ifndef set_mce_nospec |
| +static inline int set_mce_nospec(unsigned long pfn) |
| +{ |
| + return 0; |
| +} |
| +#endif |
| + |
| static DEFINE_MUTEX(mce_chrdev_read_mutex); |
| |
| #define mce_log_get_idx_check(p) \ |
| diff -aurp a/drivers/scsi/megaraid/megaraid_sas_debugfs.c b/drivers/scsi/megaraid/megaraid_sas_debugfs.c |
| |
| |
| @@ -28,6 +28,7 @@ |
| #include <linux/kernel.h> |
| #include <linux/types.h> |
| #include <linux/pci.h> |
| +#include <linux/uio.h> |
| #include <linux/interrupt.h> |
| #include <linux/compat.h> |
| #include <linux/irq_poll.h> |