diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-01-30 13:30:55 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:30:55 +0100 |
commit | 5548fecdff5617ba3a2f09f0e585e1ac6e1bd25c (patch) | |
tree | 9761144d3140a554c062a289a40c1e0a5e206ef8 /arch/x86/kernel/smpboot_64.c | |
parent | 1c54d77078056cde0f195b1a982cb681850efc08 (diff) | |
download | kernel_samsung_crespo-5548fecdff5617ba3a2f09f0e585e1ac6e1bd25c.zip kernel_samsung_crespo-5548fecdff5617ba3a2f09f0e585e1ac6e1bd25c.tar.gz kernel_samsung_crespo-5548fecdff5617ba3a2f09f0e585e1ac6e1bd25c.tar.bz2 |
x86: clean up bitops-related warnings
Add casts to appropriate places to silence spurious bitops warnings.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/smpboot_64.c')
-rw-r--r-- | arch/x86/kernel/smpboot_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c index 8ac8eb6..ac1089f 100644 --- a/arch/x86/kernel/smpboot_64.c +++ b/arch/x86/kernel/smpboot_64.c @@ -691,7 +691,7 @@ do_rest: } if (boot_error) { cpu_clear(cpu, cpu_callout_map); /* was set here (do_boot_cpu()) */ - clear_bit(cpu, &cpu_initialized); /* was set by cpu_init() */ + clear_bit(cpu, (unsigned long *)&cpu_initialized); /* was set by cpu_init() */ clear_node_cpumask(cpu); /* was set by numa_add_cpu */ cpu_clear(cpu, cpu_present_map); cpu_clear(cpu, cpu_possible_map); @@ -1036,7 +1036,7 @@ void remove_cpu_from_maps(void) cpu_clear(cpu, cpu_callout_map); cpu_clear(cpu, cpu_callin_map); - clear_bit(cpu, &cpu_initialized); /* was set by cpu_init() */ + clear_bit(cpu, (unsigned long *)&cpu_initialized); /* was set by cpu_init() */ clear_node_cpumask(cpu); } |