[Top] [All Lists]

Re: [PATCH] kmemtrace:fix undeclared 'PAGE_SIZE' via asm/page.h

To: Wu Zhangjin <>
Subject: Re: [PATCH] kmemtrace:fix undeclared 'PAGE_SIZE' via asm/page.h
From: Pekka Enberg <>
Date: Sun, 14 Jun 2009 08:59:15 +0300
Cc: Frederic Weisbecker <>,, Linux-MIPS <>, Steven Rostedt <>, Ralf Baechle <>, Wu Zhangjin <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=NAlbSEttYqCOSL1PWlTANL/5wXGXcJBmkzzmJlO36BE=; b=LFTpzGZ3ft77wOAAjuhhhi7sH9/61E8grkCOQef0PfWvKEhQ9xLJ0SzuSp00eFgLET sRIdTY9WsMGHRc2v/S49nYYYCAdUd3jiyfNCFT57FSvnP1dI+578KQTvgMqO9YxFmEdE 064X7GFHcGA6v7oNXX/zkkGlfwtH6c0ubzhw8=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=jd/QnXnz/GZzFlzN/AikfW+S/ArCKxytz/8qklokb5wbsLKjz+Z/yu15nnZMM9CVku x8sJgECjiLtz7Zs+hsT6Xd/cvOS446N+XGpQNU149LY9y7zJkVczp0MX0SVdC5o0z4nr QgYjFasO35F+KpnbYZ0fjiq6rK2QPfIuVelGg=
In-reply-to: <>
Original-recipient: rfc822;
References: <>
On Sun, Jun 14, 2009 at 8:54 AM, Wu Zhangjin<> wrote:
> From: Wu Zhangjin <>
> when compiling linux-mips with kmemtrace enabled, this error will be
> there:
> include/linux/trace_seq.h:12: error: 'PAGE_SIZE' undeclared here (not in
>                                a function)
> I checked the source code and found trace_seq.h used PAGE_SIZE but not
> include the relative header file, so, fix it via adding the header file
> <asm/page.h>
> this error will not be triggered in linux-x86 for there is a
> <asm/page.h> header file included in a certain header file. but which
> not means <asm/page.h> is not needed in trace_seq.h
> Signed-off-by: Wu Zhangjin <>

This looks like a generic tracing issue, not a kmemtrace problem so
the subject line needs fixing. But the change looks good to me:

Acked-by: Pekka Enberg <>

<Prev in Thread] Current Thread [Next in Thread>