+ x86_64-mm-mce_amd-support-for-family-0x10-processors-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     x86_64-mm-mce_amd-support-for-family-0x10-processors fix

has been added to the -mm tree.  Its filename is

     x86_64-mm-mce_amd-support-for-family-0x10-processors-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: x86_64-mm-mce_amd-support-for-family-0x10-processors fix
From: "Rafael J. Wysocki" <rjw@xxxxxxx>


Small compilation fix needed for x86_64 without SMP.

Cc: Jacob Shin <jacob.shin@xxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/x86_64/kernel/mce_amd.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN arch/x86_64/kernel/mce_amd.c~x86_64-mm-mce_amd-support-for-family-0x10-processors-fix arch/x86_64/kernel/mce_amd.c
--- devel/arch/x86_64/kernel/mce_amd.c~x86_64-mm-mce_amd-support-for-family-0x10-processors-fix	2006-06-04 23:19:27.000000000 -0700
+++ devel-akpm/arch/x86_64/kernel/mce_amd.c	2006-06-04 23:19:27.000000000 -0700
@@ -494,7 +494,11 @@ static __cpuinit int threshold_create_ba
 
 	kobject_set_name(&b->kobj, "threshold_bank%i", bank);
 	b->kobj.parent = &per_cpu(device_mce, cpu).kobj;
+#ifdef CONFIG_SMP
 	b->cpus = cpu_core_map[cpu];
+#else
+	b->cpus = CPU_MASK_CPU0;
+#endif
 
 	err = kobject_register(&b->kobj);
 	if (err)
_

Patches currently in -mm which might be from rjw@xxxxxxx are

origin.patch
x86_64-mm-mce_amd-support-for-family-0x10-processors-fix.patch
swsusp-rework-memory-shrinker-rev-2.patch
swsusp-add-architecture-special-saveable-pages-support.patch
swsusp-i386-mark-special-saveable-unsaveable-pages.patch
swsusp-x86_64-mark-special-saveable-unsaveable-pages.patch
swsusp-take-lowmem-reserves-into-account.patch
swsusp-use-less-memory-during-resume.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux