All of lore.kernel.org
 help / color / mirror / Atom feed
* linux/compat.h includes asm/signal.h causing problems
@ 2006-10-02 20:14 David Miller
  2006-10-02 20:50 ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2006-10-02 20:14 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel


On some platforms, including sparc64, asm/signal.h needs
compat_sigset_t, but this is defined in linux/compat.h
after asm/signal.h is included.

Andrew, aren't you doing sparc64 cross builds these days? :-)

This came from 3f2e05e90e0846c42626e3d272454f26be34a1bc

    [PATCH] BLOCK: Revert patch to hack around undeclared sigset_t in linux/compat.h
    
    Revert Andrew Morton's patch to temporarily hack around the lack of a
    declaration of sigset_t in linux/compat.h to make the block-disablement
    patches build on IA64.  This got accidentally pushed to Linus and should
    be fixed in a different manner.
    
    Also make linux/compat.h #include asm/signal.h to gain a definition of
    sigset_t so that it can externally declare sigset_from_compat().
    
    This has been compile-tested for i386, x86_64, ia64, mips, mips64, frv, ppc and
    ppc64 and run-tested on frv.
    
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>

It figures that one of the platforms it wasn't compile tested on is
the one that breaks :-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-10-03 17:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 20:14 linux/compat.h includes asm/signal.h causing problems David Miller
2006-10-02 20:50 ` Andrew Morton
2006-10-02 21:04   ` David Miller
2006-10-02 21:18     ` David Miller
2006-10-03  9:45       ` David Howells
2006-10-03 10:54         ` Al Viro
2006-10-03 12:21           ` David Howells
2006-10-03 17:01             ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.