One PPC64 machine using gcc 3.4.6 the machine fails to boot when__alloc_pages_nodemask() uses the FASTCALL calling convention. It is notclear why this machine in particular is affected as other PPC64 machinesboot. The only usual aspect of the machine is that it has memoryless nodesbut I couldn't see any problem using them. The error received looks like

This patch creates an inline version of __alloc_pages called__alloc_pages_internal() which allows the machine to boot. Both __alloc_pagesand __alloc_pages_nodemask use this interal function but only __alloc_pages()uses FASTCALL.