linux-mips
[Top] [All Lists]

Re: "useless" pgprot_noncached define in include/asm-mips/pgtable.h

To: pulsar@kpsws.com
Subject: Re: "useless" pgprot_noncached define in include/asm-mips/pgtable.h
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 24 Jan 2006 00:54:24 +0900 (JST)
Cc: linux-mips@linux-mips.org, niels.sterrenburg@philips.com
In-reply-to: <49175.194.171.252.101.1137674027.squirrel@mail.kpsws.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.62.0601191100001.21230@pademelon.sonytel.be> <200601191230.59347.p_christ@hol.gr> <49175.194.171.252.101.1137674027.squirrel@mail.kpsws.com>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Thu, 19 Jan 2006 13:33:47 +0100 (CET), "Niels Sterrenburg" 
>>>>> <pulsar@kpsws.com> said:

pulsar> #define pgprot_noncached pgprot_noncached
pulsar> Was there any ideas behind this code or can it be removed ?

There are some codes testing whether pgprot_noncached is defined or
not.  Please see phys_mem_access_prot() in drivers/char/mem.c.

---
Atsushi Nemoto

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