From: Jun Sun <jsun@mvista.com>
To: linux-mips@linux-mips.org
Cc: jsun@mvista.com
Subject: [PATCH] typo in mmu_context.h
Date: Mon, 28 Oct 2002 15:16:28 -0800 [thread overview]
Message-ID: <20021028151628.E24266@mvista.com> (raw)
[-- 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.
reply other threads:[~2002-10-28 23:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021028151628.E24266@mvista.com \
--to=jsun@mvista.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox