Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261570AbVEBAjh (ORCPT ); Sun, 1 May 2005 20:39:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261582AbVEBAjh (ORCPT ); Sun, 1 May 2005 20:39:37 -0400 Received: from gate.crashing.org ([63.228.1.57]:62877 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261570AbVEBAje (ORCPT ); Sun, 1 May 2005 20:39:34 -0400 Subject: Re: 2.6.12-rc3-mm2 From: Benjamin Herrenschmidt To: Jesper Juhl Cc: =?ISO-8859-1?Q?Rog=E9rio?= Brito , Andrew Morton , Linux Kernel list In-Reply-To: References: <20050501201145.GA14429@ime.usp.br> Content-Type: text/plain Date: Mon, 02 May 2005 10:37:27 +1000 Message-Id: <1114994247.7111.347.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 34 > I recently posted this patch in another thread, give it a try : > > --- linux-2.6.12-rc3-mm2-orig/fs/proc/task_mmu.c 2005-05-01 04:04:25.000000000 +0200 > +++ linux-2.6.12-rc3-mm2/fs/proc/task_mmu.c 2005-05-01 17:49:14.000000000 +0200 > @@ -2,6 +2,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -204,7 +205,7 @@ static void smaps_pte_range(pmd_t *pmd, > } > } > } while (address < end); > - pte_unmap(pte); > + pte_unmap((void *)pte); > } > > static void smaps_pmd_range(pud_t *pud, This is unrelated, and shouldn't be necessary. I don't lile patches that defeat typechecking. Of pte isn't a pte_t *, then something is wrong. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/