diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-27 13:25:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-27 13:25:02 -0500 |
commit | 4e838c7e6ebaf7b2febaafe2cd598a44fdceb094 (patch) | |
tree | 396769da9be766ecbae82c2791bbbc733a5a444b | |
parent | bbbcde9d9614683fbeb41f00728cfbfb7f75a7ad (diff) | |
parent | ff5dd32b997a5a5ce3f4256257991133d694da0b (diff) |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
pata_cs5536: avoid implicit MSR API inclusion on x86-64
-rw-r--r-- | drivers/ata/pata_cs5536.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c index a6e6c963b6ae..628c8fae5937 100644 --- a/drivers/ata/pata_cs5536.c +++ b/drivers/ata/pata_cs5536.c | |||
@@ -44,6 +44,8 @@ static int use_msr; | |||
44 | module_param_named(msr, use_msr, int, 0644); | 44 | module_param_named(msr, use_msr, int, 0644); |
45 | MODULE_PARM_DESC(msr, "Force using MSR to configure IDE function (Default: 0)"); | 45 | MODULE_PARM_DESC(msr, "Force using MSR to configure IDE function (Default: 0)"); |
46 | #else | 46 | #else |
47 | #undef rdmsr /* avoid accidental MSR usage on, e.g. x86-64 */ | ||
48 | #undef wrmsr | ||
47 | #define rdmsr(x, y, z) do { } while (0) | 49 | #define rdmsr(x, y, z) do { } while (0) |
48 | #define wrmsr(x, y, z) do { } while (0) | 50 | #define wrmsr(x, y, z) do { } while (0) |
49 | #define use_msr 0 | 51 | #define use_msr 0 |