* [PATCH] UML: Fix some apparent bitrot in mmu_context.h
@ 2009-06-25 7:19 Paul Menage
2009-06-25 11:56 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Paul Menage @ 2009-06-25 7:19 UTC (permalink / raw)
To: rusty; +Cc: jdike, linux-kernel, sfr
UML: Fix some apparent bitrot in mmu_context.h
- cpumask_clear() -> cpumask_clear_cpu()
Signed-off-by: Paul Menage <menage@google.com>
--
Fixes the following compile errors:
arch/um/include/asm/mmu_context.h: In function 'switch_mm':
arch/um/include/asm/mmu_context.h:38: warning: passing argument 1 of 'cpumask_clear' makes pointer from integer without
a cast
arch/um/include/asm/mmu_context.h:38: error: too many arguments to function 'cpumask_clear'
---
arch/um/include/asm/mmu_context.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/include/asm/mmu_context.h b/arch/um/include/asm/mmu_context.h
index edd719e..34d8130 100644
--- a/arch/um/include/asm/mmu_context.h
+++ b/arch/um/include/asm/mmu_context.h
@@ -35,7 +35,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
unsigned cpu = smp_processor_id();
if(prev != next){
- cpumask_clear(cpu, mm_cpumask(prev));
+ cpumask_clear_cpu(cpu, mm_cpumask(prev));
cpumask_set_cpu(cpu, mm_cpumask(next));
if(next != &init_mm)
__switch_mm(&next->context.id);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] UML: Fix some apparent bitrot in mmu_context.h
2009-06-25 7:19 [PATCH] UML: Fix some apparent bitrot in mmu_context.h Paul Menage
@ 2009-06-25 11:56 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2009-06-25 11:56 UTC (permalink / raw)
To: Paul Menage; +Cc: jdike, linux-kernel, sfr
On Thu, 25 Jun 2009 04:49:56 pm Paul Menage wrote:
> UML: Fix some apparent bitrot in mmu_context.h
>
> - cpumask_clear() -> cpumask_clear_cpu()
>
> Signed-off-by: Paul Menage <menage@google.com>
>
> --
>
> Fixes the following compile errors:
>
> arch/um/include/asm/mmu_context.h: In function 'switch_mm':
> arch/um/include/asm/mmu_context.h:38: warning: passing argument 1 of
> 'cpumask_clear' makes pointer from integer without a cast
> arch/um/include/asm/mmu_context.h:38: error: too many arguments to function
> 'cpumask_clear'
Thanks, that was a bogosity in my patch (not in mainline, may not be now merge
window closed).
I've fixed it now.
Thanks!
Rusty.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-25 11:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 7:19 [PATCH] UML: Fix some apparent bitrot in mmu_context.h Paul Menage
2009-06-25 11:56 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox