Re: mmotm 2014-04-22-15-20 uploaded (uml 32- and 64-bit defconfigs)

From: Randy Dunlap
Date: Wed Apr 23 2014 - 13:48:42 EST


On 04/23/14 10:41, Luiz Capitulino wrote:
> On Wed, 23 Apr 2014 10:10:29 -0700
> Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
>> On 04/22/14 15:21, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
>>> The mm-of-the-moment snapshot 2014-04-22-15-20 has been uploaded to
>>>
>>> http://www.ozlabs.org/~akpm/mmotm/
>>>
>>> mmotm-readme.txt says
>>>
>>> README for mm-of-the-moment:
>>>
>>> http://www.ozlabs.org/~akpm/mmotm/
>>>
>>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
>>> more than once a week.
>>>
>>> You will need quilt to apply these patches to the latest Linus release (3.x
>>> or 3.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
>>> http://ozlabs.org/~akpm/mmotm/series
>>>
>>
>> include/linux/hugetlb.h:468:9: error: 'HPAGE_SHIFT' undeclared (first use in this function)
>
> The patch adding HPAGE_SHIFT usage to hugetlb.h in current mmotm is this:
>
> http://www.ozlabs.org/~akpm/mmotm/broken-out/hugetlb-ensure-hugepage-access-is-denied-if-hugepages-are-not-supported.patch
>
> But I can't reproduce the issue to be sure what the problem is. Are you
> building the kernel on 32bits? Can you provide the output of
> "grep -i huge .config" or send your .config in private?
>

[adding Richard to cc:]


As in $subject, if I build uml x86 32-bit or 64-bit defconfig, the build fails with
this error.

> grep -i huge UM64/.config
# CONFIG_HUGETLB_PAGE is not set


Full x86_64 uml defconfig is attached.

Thanks,
--
~Randy

Attachment: um64.config
Description: application/config