Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 30 Aug 2002 01:52:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 30 Aug 2002 01:52:28 -0400 Received: from deimos.hpl.hp.com ([192.6.19.190]:30688 "EHLO deimos.hpl.hp.com") by vger.kernel.org with ESMTP id ; Fri, 30 Aug 2002 01:52:28 -0400 Date: Thu, 29 Aug 2002 22:56:51 -0700 From: David Mosberger Message-Id: <200208300556.g7U5up3c025064@napali.hpl.hp.com> To: linux-kernel@vger.kernel.org cc: davidm@napali.hpl.hp.com Subject: page-flags.h pollution? X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ Reply-to: davidm@hpl.hp.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 612 Lines: 13 In the 2.5.3x kernel, what's the point of defining pte_chain_lock() and pte_chain_unlock() in page-flags.h? These two routines make it impossible to include page-flags.h on it's own, because they require "struct page" to be defined (and a forward declaration isn't sufficient either). This can introduce rather annoying circular include-file dependencies. --david - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/