Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] typo in mmu_context.h
@ 2002-10-28 23:16 Jun Sun
  0 siblings, 0 replies; only message in thread
From: Jun Sun @ 2002-10-28 23:16 UTC (permalink / raw)
  To: linux-mips; +Cc: jsun

[-- Attachment #1: Type: text/plain, Size: 22 bytes --]

Rather obviously ....

[-- Attachment #2: junk --]
[-- Type: text/plain, Size: 575 bytes --]

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-28 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-28 23:16 [PATCH] typo in mmu_context.h Jun Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox