Re: Kernel includefile bug not fixed after a year :-(

From: Erik Andersen (andersen_at_codepoet.org)
Date: 09/30/03

  • Next message: Andi Kleen: "Re: [PATCH] Mutilated form of Andi Kleen's AMD prefetch errata patch"
    Date:	Tue, 30 Sep 2003 13:04:10 -0600
    To: "David S. Miller" <davem@redhat.com>
    
    

    On Tue Sep 30, 2003 at 05:23:37AM -0700, David S. Miller wrote:
    > Suggest changes to fix the problems, but just saying "don't include
    > kernel header in your user apps, NYAH NYAH NYAH!" does not help
    > anyone at all.

    Until someone gets off their *** and assembles a set of user
    space kernel headers, the correct answer is "don't include kernel
    headers, instead make private copies of the needed kernel defines
    and structs and fixup the kernel types to use C99 types from
    stdint.h"

    I.e. do for yourself what the kernel folk have not done,

     -Erik

    --
    Erik B. Andersen             http://codepoet-consulting.com/
    --This message was written using 73% post-consumer electrons--
    -
    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/
    

  • Next message: Andi Kleen: "Re: [PATCH] Mutilated form of Andi Kleen's AMD prefetch errata patch"