> The only thing I could see breaking the build is that the structure > layout of "vma" is not available at the time pgtable.h is parsed, so > the vma->vm_mm causes a parse error.
That is indeed the cause of the compile error on s390. > In that case, please fix this simply by turning ptep_clear_flush() > (and thus ptep_establish) into a macro to fix the build as we have > done on the other platforms. Please don't. There are too many macros from hell as things are now. I prefer to sort out the compile errors with my inline functions than to introduce more of that macro crap. Simply expand the pte_clear inline into ptep_get_and_clear & ptep_clear_flush gets you around the problem with deferencing "vma" because on s390 we don't need the mm struct in pte_clear. blue skies, Martin Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH
