| To: | linux-mips@linux-mips.org, ralf@linux-mips.org, Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH v2 0/2] Dummy HPAGE_* constants for !CONFIG_HUGETLB_PAGE |
| From: | David Daney <ddaney.cavm@gmail.com> |
| Date: | Thu, 17 Nov 2011 13:57:28 -0800 |
| Cc: | David Daney <david.daney@cavium.com>, David Rientjes <rientjes@google.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=9SygXBUvPvjSrlXWSL0dCXpsSu487AgLdEB/jJnxd+E=; b=m1J3NBciPDTDzrf746S9cvpXVYaeP4LvOIvJ/11ML8kOls3ZYX7RjdI9XJ7Z7HUtNZ JSHyy86Fl7f8xbrWW0GFVyYwqCGBqMVb3c/nBaUn4vN9TMYXEQ6B86Ok6RG1diOAaBOf GQZ74cf69BQqu4yn3sQgCTBgbhtsqyAe48W+I= |
| Sender: | linux-mips-bounce@linux-mips.org |
From: David Daney <david.daney@cavium.com> 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 <rientjes@google.com> -- 1.7.2.3 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v2 1/2] hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGE, David Daney |
|---|---|
| Next by Date: | [PATCH 1/6] MIPS: ath79: store the SoC revision in a global variable, Gabor Juhos |
| Previous by Thread: | [PATCH 1/3] NET: MIPS: lantiq: make etop ethernet work on ase/ar9, John Crispin |
| Next by Thread: | [PATCH v2 2/2] hugetlb: Provide safer dummy values for HPAGE_MASK and HPAGE_SIZE, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |