History

Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fixes from Ingo Molnar. * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/smp: Fix topology checks on AMD MCM CPUs x86/mm: Fix some kernel-doc warnings x86, um: Correct syscall table type attributes breaking gcc 4.8

Linus Torvalds committed 14 years ago

Commit c83119a2 parents ed21a66 161270f4 files · +10 −7Browse files

Unified · Split

4 files
  1. arch/x86/kernel/smpboot.c +5 −2
  2. arch/x86/mm/ioremap.c +2 −2
  3. arch/x86/mm/pageattr.c +1 −1
  4. arch/x86/um/sys_call_table_32.c +2 −2
arch/x86/kernel/smpboot.c+5−2
@@ -349,9 +349,12 @@ static bool __cpuinit match_llc(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) · 348 unmodified lines
349349
350350 static bool __cpuinit match_mc(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
351351 {
352− if (c->phys_proc_id == o->phys_proc_id)
353− return topology_sane(c, o, "mc");
352+ if (c->phys_proc_id == o->phys_proc_id) {
353+ if (cpu_has(c, X86_FEATURE_AMD_DCM))
354+ return true;
354355
356+ return topology_sane(c, o, "mc");
357+ }
355358 return false;
356359 }
357360
arch/x86/mm/ioremap.c+2−2
@@ -180,7 +180,7 @@ err_free_memtype: · 179 unmodified lines
180180
181181 /**
182182 * ioremap_nocache - map bus memory into CPU space
183− * @offset: bus address of the memory
183+ * @phys_addr: bus address of the memory
184184 * @size: size of the resource to map
185185 *
186186 * ioremap_nocache performs a platform specific sequence of operations to
@@ -217,7 +217,7 @@ EXPORT_SYMBOL(ioremap_nocache); · 30 unmodified lines
217217
218218 /**
219219 * ioremap_wc - map memory into CPU space write combined
220− * @offset: bus address of the memory
220+ * @phys_addr: bus address of the memory
221221 * @size: size of the resource to map
222222 *
223223 * This version of ioremap ensures that the memory is marked write combining.
arch/x86/mm/pageattr.c+1−1
@@ -122,7 +122,7 @@ within(unsigned long addr, unsigned long start, unsigned long end) · 121 unmodified lines
122122
123123 /**
124124 * clflush_cache_range - flush a cache range with clflush
125− * @addr: virtual start address
125+ * @vaddr: virtual start address
126126 * @size: number of bytes to flush
127127 *
128128 * clflush is an unordered instruction which needs fencing with mfence
arch/x86/um/sys_call_table_32.c+2−2
@@ -39,9 +39,9 @@ · 38 unmodified lines
3939 #undef __SYSCALL_I386
4040 #define __SYSCALL_I386(nr, sym, compat) [ nr ] = sym,
4141
42−typedef void (*sys_call_ptr_t)(void);
42+typedef asmlinkage void (*sys_call_ptr_t)(void);
4343
44−extern void sys_ni_syscall(void);
44+extern asmlinkage void sys_ni_syscall(void);
4545
4646 const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
4747 /*