ignatenkobrain / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
ef002e
diff -up linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/cpufeature.h.morefixes linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/cpufeature.h
ef002e
--- linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/cpufeature.h.morefixes	2016-10-19 10:16:25.000000000 -0400
ef002e
+++ linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/cpufeature.h	2016-11-05 08:30:46.276033474 -0400
ef002e
@@ -354,6 +354,7 @@ extern const char * const x86_power_flag
ef002e
 #define cpu_has_avx		boot_cpu_has(X86_FEATURE_AVX)
ef002e
 #define cpu_has_avx2		boot_cpu_has(X86_FEATURE_AVX2)
ef002e
 #define cpu_has_ht		boot_cpu_has(X86_FEATURE_HT)
ef002e
+#define cpu_has_mp		boot_cpu_has(X86_FEATURE_MP)
ef002e
 #define cpu_has_nx		boot_cpu_has(X86_FEATURE_NX)
ef002e
 #define cpu_has_xstore		boot_cpu_has(X86_FEATURE_XSTORE)
ef002e
 #define cpu_has_xstore_enabled	boot_cpu_has(X86_FEATURE_XSTORE_EN)
ef002e
diff -up linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/irq_remapping.h.morefixes linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/irq_remapping.h
ef002e
--- linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/irq_remapping.h.morefixes	2016-10-19 10:16:25.000000000 -0400
ef002e
+++ linux-3.10.0-514.sdl7.i686/arch/x86/include/asm/irq_remapping.h	2016-11-05 09:39:38.425043476 -0400
ef002e
@@ -110,7 +110,7 @@ static inline bool setup_remapped_irq(in
ef002e
 	return false;
ef002e
 }
ef002e
 
ef002e
-int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
ef002e
+static int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info)
ef002e
 {
ef002e
 	return -ENOSYS;
ef002e
 }
ef002e
diff -up linux-3.10.0-514.sdl7.i686/arch/x86/kernel/irq_32.c.morefixes linux-3.10.0-514.sdl7.i686/arch/x86/kernel/irq_32.c
ef002e
--- linux-3.10.0-514.sdl7.i686/arch/x86/kernel/irq_32.c.morefixes	2016-10-19 10:16:25.000000000 -0400
ef002e
+++ linux-3.10.0-514.sdl7.i686/arch/x86/kernel/irq_32.c	2016-11-05 09:49:59.371055125 -0400
ef002e
@@ -24,9 +24,12 @@
ef002e
 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
ef002e
 EXPORT_PER_CPU_SYMBOL(irq_stat);
ef002e
 
ef002e
+DEFINE_PER_CPU_SHARED_ALIGNED(rh_irq_cpustat_t, rh_irq_stat);
ef002e
+
ef002e
 DEFINE_PER_CPU(struct pt_regs *, irq_regs);
ef002e
 EXPORT_PER_CPU_SYMBOL(irq_regs);
ef002e
 
ef002e
+
ef002e
 #ifdef CONFIG_DEBUG_STACKOVERFLOW
ef002e
 
ef002e
 int sysctl_panic_on_stackoverflow __read_mostly;
ef002e
diff -up linux-3.10.0-514.sdl7.i686/include/linux/pps_kernel.h.morefixes linux-3.10.0-514.sdl7.i686/include/linux/pps_kernel.h
ef002e
--- linux-3.10.0-514.sdl7.i686/include/linux/pps_kernel.h.morefixes	2016-10-19 10:16:25.000000000 -0400
ef002e
+++ linux-3.10.0-514.sdl7.i686/include/linux/pps_kernel.h	2016-11-05 10:44:41.492049162 -0400
ef002e
@@ -115,10 +115,17 @@ static inline void pps_get_ts(struct pps
ef002e
 {
ef002e
 	struct system_time_snapshot snap;
ef002e
 	ktime_get_snapshot(&snap);
ef002e
+#if defined CONFIG_X86_64
ef002e
 	ts->ts_real = ktime_to_timespec64(snap.real);
ef002e
 #ifdef CONFIG_NTP_PPS
ef002e
 	ts->ts_raw = ktime_to_timespec64(snap.raw);
ef002e
 #endif
ef002e
+#else
ef002e
+	ts->ts_real = ktime_to_timespec(snap.real);
ef002e
+#ifdef CONFIG_NTP_PPS
ef002e
+	ts->ts_raw = ktime_to_timespec(snap.raw);
ef002e
+#endif
ef002e
+#endif
ef002e
 }
ef002e
 
ef002e
 /* Subtract known time delay from PPS event time(s) */
ef002e
diff -up linux-3.10.0-514.sdl7.i686/kernel/hrtimer.c.morefixes linux-3.10.0-514.sdl7.i686/kernel/hrtimer.c
ef002e
--- linux-3.10.0-514.sdl7.i686/kernel/hrtimer.c.morefixes	2016-10-19 10:16:25.000000000 -0400
ef002e
+++ linux-3.10.0-514.sdl7.i686/kernel/hrtimer.c	2016-11-05 10:58:56.726065206 -0400
ef002e
@@ -328,6 +328,7 @@ u64 ktime_divns(const ktime_t kt, s64 di
ef002e
 
ef002e
 	return dclc;
ef002e
 }
ef002e
+EXPORT_SYMBOL_GPL(ktime_divns);
ef002e
 #endif /* BITS_PER_LONG >= 64 */
ef002e
 
ef002e
 /*
ef002e
diff -up linux-3.10.0-514.sdl7.i686/mm/swap.c.morefixes linux-3.10.0-514.sdl7.i686/mm/swap.c
ef002e
--- linux-3.10.0-514.sdl7.i686/mm/swap.c.morefixes	2016-10-19 10:16:25.000000000 -0400
ef002e
+++ linux-3.10.0-514.sdl7.i686/mm/swap.c	2016-11-05 08:55:41.521061525 -0400
ef002e
@@ -972,9 +972,6 @@ void release_pages(struct page **pages,
ef002e
 		if (!put_page_testzero(page))
ef002e
 			continue;
ef002e
 
ef002e
-		VM_BUG_ON_PAGE(check_mmu_gather &&
ef002e
-			       trans_huge_mmu_gather_count(page), page);
ef002e
-
ef002e
 		if (PageLRU(page)) {
ef002e
 			if (!was_thp)
ef002e
 				zone = zone_lru_lock(zone, page, &lock_batch,