Skip to content

Commit 93811d9

Browse files
committed
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86: fix memmap=exactmap boot argument x86: disable static NOPLs on 32 bits xen: fix 2.6.27-rc5 xen balloon driver warnings
2 parents ea81e27 + d6be118 commit 93811d9

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

arch/x86/Kconfig.cpu

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,14 +382,17 @@ config X86_OOSTORE
382382
# P6_NOPs are a relatively minor optimization that require a family >=
383383
# 6 processor, except that it is broken on certain VIA chips.
384384
# Furthermore, AMD chips prefer a totally different sequence of NOPs
385-
# (which work on all CPUs). As a result, disallow these if we're
386-
# compiling X86_GENERIC but not X86_64 (these NOPs do work on all
387-
# x86-64 capable chips); the list of processors in the right-hand clause
388-
# are the cores that benefit from this optimization.
385+
# (which work on all CPUs). In addition, it looks like Virtual PC
386+
# does not understand them.
387+
#
388+
# As a result, disallow these if we're not compiling for X86_64 (these
389+
# NOPs do work on all x86-64 capable chips); the list of processors in
390+
# the right-hand clause are the cores that benefit from this optimization.
389391
#
390392
config X86_P6_NOP
391393
def_bool y
392-
depends on (X86_64 || !X86_GENERIC) && (M686 || MPENTIUMII || MPENTIUMIII || MPENTIUMM || MCORE2 || MPENTIUM4 || MPSC)
394+
depends on X86_64
395+
depends on (MCORE2 || MPENTIUM4 || MPSC)
393396

394397
config X86_TSC
395398
def_bool y

arch/x86/kernel/e820.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ static int __init parse_memmap_opt(char *p)
12031203
if (!p)
12041204
return -EINVAL;
12051205

1206-
if (!strcmp(p, "exactmap")) {
1206+
if (!strncmp(p, "exactmap", 8)) {
12071207
#ifdef CONFIG_CRASH_DUMP
12081208
/*
12091209
* If we are doing a crash dump, we still need to know

drivers/xen/balloon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
#define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10))
6262

63-
#define BALLOON_CLASS_NAME "memory"
63+
#define BALLOON_CLASS_NAME "xen_memory"
6464

6565
struct balloon_stats {
6666
/* We aim for 'current allocation' == 'target allocation'. */

0 commit comments

Comments
 (0)