Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933120AbYBHUEv (ORCPT ); Fri, 8 Feb 2008 15:04:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932298AbYBHUER (ORCPT ); Fri, 8 Feb 2008 15:04:17 -0500 Received: from wr-out-0506.google.com ([64.233.184.239]:64283 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759694AbYBHUEQ (ORCPT ); Fri, 8 Feb 2008 15:04:16 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LUQEcy7hYpxw+CJD12LSqrHvyY7MnXwEZPOVAoTWFbineEoM2NijMu3EZ+z3rSriXB8jTl7TEMvXvunP6NKIVJcqeoURQwhX5zd2FSBM9go20ydhJgFy1nc4D3NPF4Qh5l7f9W4+VlViSnP0xytqMbWIJVgEz2rOn4tGxoIkrXI= Message-ID: <8bd0f97a0802081204x202eec8bn1ab83d529b9f8c7b@mail.gmail.com> Date: Fri, 8 Feb 2008 15:04:09 -0500 From: "Mike Frysinger" To: "Bryan Wu" Subject: Re: blackfin compile error Cc: "Robin Getz" , "Matt Mackall" , "Adrian Bunk" , bryan.wu@analog.com, "Linux Kernel Mailing List" , "Andrew Morton" , "David Howells" In-Reply-To: <386072610802081053r73aeb264m7f86d513ec7d1c6d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080206151830.GI505@cs181133002.pp.htv.fi> <1202315015.17934.242.camel@cinder.waste.org> <200802061412.50675.rgetz@blackfin.uclinux.org> <8bd0f97a0802072125l16e3fc5cw91a92eed299f82e8@mail.gmail.com> <386072610802081053r73aeb264m7f86d513ec7d1c6d@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 868 Lines: 25 On Feb 8, 2008 1:53 PM, Bryan Wu wrote: > On Feb 8, 2008 1:25 PM, Mike Frysinger wrote: > > looks like only MMU code currently uses the function, but to keep > > things nice, we may want something like: > > static inline int is_swap_pte(pte_t pte) > > { > > #ifdef CONFIG_MMU > > return !pte_none(pte) && !pte_present(pte) && !pte_file(pte); > > #else > > return 0; > > #endif > > } > > > > the header is also lacking an #include at the top ... > > Did you submit a patch to mainline? It should be merged to fix this > compiling error. posted -mike -- 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/