On Fri, Dec 20, 2013 at 02:28:05PM -0800, Olof Johansson wrote: > Commit 597d795a2a78 ('mm: do not allocate page->ptl dynamically, if > spinlock_t fits to long') restructures some allocators that are compiled > even if USE_SPLIT_PTLOCKS arn't used. It results in compilation failure: > > mm/memory.c:4282:6: error: 'struct page' has no member named 'ptl' > mm/memory.c:4288:12: error: 'struct page' has no member named 'ptl' > > Add in the missing ifdef. > > Fixes: 597d795a2a78 ('mm: do not allocate page->ptl dynamically, if spinlock_t fits to long') > Signed-off-by: Olof Johansson <olof@xxxxxxxxx> > Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> > Cc: Hugh Dickins <hughd@xxxxxxxxxx> Sorry, for that. Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>