From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753485Ab1KQV5o (ORCPT ); Thu, 17 Nov 2011 16:57:44 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:45360 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561Ab1KQV5k (ORCPT ); Thu, 17 Nov 2011 16:57:40 -0500 From: David Daney To: linux-mips@linux-mips.org, ralf@linux-mips.org, Andrew Morton , linux-kernel@vger.kernel.org Cc: David Daney , David Rientjes Subject: [PATCH v2 0/2] Dummy HPAGE_* constants for !CONFIG_HUGETLB_PAGE Date: Thu, 17 Nov 2011 13:57:28 -0800 Message-Id: <1321567050-13197-1-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.2.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Daney After a, somewhat heated, discussion with David Rientjes, I think the following approach will work. The first patch adds HPAGE_SHIFT, needed by MIPS. The second cleans up the exiting HPAGE_MASK and HPAGE_SIZE David Daney (2): hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGE hugetlb: Provide safer dummy values for HPAGE_MASK and HPAGE_SIZE include/linux/hugetlb.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) Cc: David Rientjes -- 1.7.2.3