[PATCH] typo in mmu_context.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rather obviously ....
diff -Nru link/include/asm-mips/mmu_context.h.orig link/include/asm-mips/mmu_context.h
--- link/include/asm-mips/mmu_context.h.orig	Mon Oct 28 11:55:29 2002
+++ link/include/asm-mips/mmu_context.h	Mon Oct 28 13:34:49 2002
@@ -83,7 +83,7 @@
 init_new_context(struct task_struct *tsk, struct mm_struct *mm)
 {
 #ifdef CONFIG_SMP
-	mm->context = malloc(smp_num_cpus * sizeof(unsigned long), GFP_KERNEL);
+	mm->context = kmalloc(smp_num_cpus * sizeof(unsigned long), GFP_KERNEL);
 	/*
  	 * Init the "context" values so that a tlbpid allocation
 	 * happens on the first switch.

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux