From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiang Liu Subject: [RFC PATCH v1 16/19] mm/unicore32: fix stale comment about VALID_PAGE() Date: Sat, 13 Apr 2013 23:36:36 +0800 Message-ID: <1365867399-21323-17-git-send-email-jiang.liu@huawei.com> References: <1365867399-21323-1-git-send-email-jiang.liu@huawei.com> Return-path: In-Reply-To: <1365867399-21323-1-git-send-email-jiang.liu@huawei.com> Sender: owner-linux-mm@kvack.org To: Andrew Morton , Yinghai Lu Cc: Jiang Liu , David Rientjes , Wen Congyang , Mel Gorman , Minchan Kim , KAMEZAWA Hiroyuki , Michal Hocko , David Howells , Mark Salter , Jianguo Wu , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Guan Xuetao List-Id: linux-arch.vger.kernel.org VALID_PAGE() has been removed from kernel long time ago, so fix the comment. Signed-off-by: Jiang Liu Cc: Guan Xuetao Cc: linux-kernel@vger.kernel.org --- arch/unicore32/include/asm/memory.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/unicore32/include/asm/memory.h b/arch/unicore32/include/asm/memory.h index 5eddb99..debafc4 100644 --- a/arch/unicore32/include/asm/memory.h +++ b/arch/unicore32/include/asm/memory.h @@ -98,12 +98,6 @@ /* * Conversion between a struct page and a physical address. * - * Note: when converting an unknown physical address to a - * struct page, the resulting pointer must be validated - * using VALID_PAGE(). It must return an invalid struct page - * for any physical address not corresponding to a system - * RAM address. - * * page_to_pfn(page) convert a struct page * to a PFN number * pfn_to_page(pfn) convert a _valid_ PFN number to struct page * * -- 1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f54.google.com ([209.85.220.54]:42573 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932263Ab3DMPn5 (ORCPT ); Sat, 13 Apr 2013 11:43:57 -0400 From: Jiang Liu Subject: [RFC PATCH v1 16/19] mm/unicore32: fix stale comment about VALID_PAGE() Date: Sat, 13 Apr 2013 23:36:36 +0800 Message-ID: <1365867399-21323-17-git-send-email-jiang.liu@huawei.com> In-Reply-To: <1365867399-21323-1-git-send-email-jiang.liu@huawei.com> References: <1365867399-21323-1-git-send-email-jiang.liu@huawei.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andrew Morton , Yinghai Lu Cc: Jiang Liu , David Rientjes , Wen Congyang , Mel Gorman , Minchan Kim , KAMEZAWA Hiroyuki , Michal Hocko , David Howells , Mark Salter , Jianguo Wu , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Guan Xuetao Message-ID: <20130413153636.uhqFyNEZ9m8L65BkCiP5qyvIoWhtSjWJTIKkFl--HQI@z> VALID_PAGE() has been removed from kernel long time ago, so fix the comment. Signed-off-by: Jiang Liu Cc: Guan Xuetao Cc: linux-kernel@vger.kernel.org --- arch/unicore32/include/asm/memory.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/unicore32/include/asm/memory.h b/arch/unicore32/include/asm/memory.h index 5eddb99..debafc4 100644 --- a/arch/unicore32/include/asm/memory.h +++ b/arch/unicore32/include/asm/memory.h @@ -98,12 +98,6 @@ /* * Conversion between a struct page and a physical address. * - * Note: when converting an unknown physical address to a - * struct page, the resulting pointer must be validated - * using VALID_PAGE(). It must return an invalid struct page - * for any physical address not corresponding to a system - * RAM address. - * * page_to_pfn(page) convert a struct page * to a PFN number * pfn_to_page(pfn) convert a _valid_ PFN number to struct page * * -- 1.7.9.5