lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 25 Jun 2009 00:19:56 -0700 From: Paul Menage <menage@...gle.com> To: rusty@...tcorp.com.au Cc: jdike@...toit.com, linux-kernel@...r.kernel.org, sfr@...b.auug.org.au Subject: [PATCH] UML: Fix some apparent bitrot in mmu_context.h UML: Fix some apparent bitrot in mmu_context.h - cpumask_clear() -> cpumask_clear_cpu() Signed-off-by: Paul Menage <menage@...gle.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); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists