Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757246AbcDHFSq (ORCPT ); Fri, 8 Apr 2016 01:18:46 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:40678 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787AbcDHFSp (ORCPT ); Fri, 8 Apr 2016 01:18:45 -0400 X-AuditID: cbfee61a-f79a86d000001a1a-08-57073f32b1d4 From: Weijie Yang To: "'Andrew Morton'" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, "'Weijie Yang'" Subject: [PATCH] mm fix commmets: If SPARSEMEM, pgdata doesn't have page_ext Date: Fri, 08 Apr 2016 13:17:42 +0800 Message-id: <"000001d19156$1e02a5c0$5a07f140$@yang"@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: AdGRVfoRf68rO932RhWLWizIqfdNCQ== Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsVy+t9jQV0je/Zwg32HTSzmrF/DZnF51xw2 i3tr/rNaPDnxn8WBxWPnrLvsHps+TWL3ODHjN4vH501yASxRXDYpqTmZZalF+nYJXBnv5ixk KzjHWjHn83+mBsbTLF2MnBwSAiYS6xYtY4SwxSQu3FvP1sXIxSEkMItR4t3fBnYI5x2jxIIV n9hAqtgEtCXu9m9k7WLk4BAR0Jdoa9EACTMLJEhcPbqYGcQWFvCRWNy5kBGkhEVAVWLBy1CQ MK+Ag8T9e/3sELagxI/J91hASpgF1CWmTMmFmCIvsXnNW2aQsARQ+NFfXZCwiICexIolPxkh SsQlNh65xTKBEehEhEGzEAbNQjJoFpKOBYwsqxglUguSC4qT0nMN81LL9YoTc4tL89L1kvNz NzGCQ/qZ1A7Gg7vcDzEKcDAq8fBeeM8WLsSaWFZcmXuIUYKDWUmEV9WWPVyINyWxsiq1KD++ qDQntfgQozQHi5I47+P/68KEBNITS1KzU1MLUotgskwcnFINjBtuOrdP33L0T1L20dB8u0ip BQn5k15e3vYrec6L49/Os3bF/DlRu7brwpdEP+s4kwk3jvDvLt1dUdjocCBygQ4He7VfzwNF gW1v5p3Jk02v9+IriFFTuT5l9q9N/5f8fMWlpreOucf//ck9S47rMGhEqVdy5olybjJOXtOd OOc3j/+k6P03y5VYijMSDbWYi4oTAdqbhgBlAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 23 If SPARSEMEM, use page_ext in mem_section if !SPARSEMEM, use page_ext in pgdata Signed-off-by: Weijie Yang --- include/linux/mmzone.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index c60df92..43c412c 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -1056,7 +1056,7 @@ struct mem_section { unsigned long *pageblock_flags; #ifdef CONFIG_PAGE_EXTENSION /* - * If !SPARSEMEM, pgdat doesn't have page_ext pointer. We use + * If SPARSEMEM, pgdat doesn't have page_ext pointer. We use * section. (see page_ext.h about this.) */ struct page_ext *page_ext; -- 2.6.3