mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Compile fails on SPARC64 - include/linux/sched.h:1171: request for member `break_lock' in something not a structure or union
@ 2005-03-28 12:41 Turbo Fredriksson
  2005-03-28 12:56 ` Willy Tarreau
  0 siblings, 1 reply; 2+ messages in thread
From: Turbo Fredriksson @ 2005-03-28 12:41 UTC (permalink / raw)
  To: linux-kernel

Tried 2.6.11.6, 2.6.11.6-bk1 and 2.6.12-rc1.

----- s n i p -----
CHROOT Aurora/Woody-devel# make
  CHK     include/linux/version.h
  CC      init/main.o
In file included from include/linux/module.h:10,
                 from init/main.c:16:
include/linux/sched.h: In function `lock_need_resched':
include/linux/sched.h:1171: request for member `break_lock' in something not a structure or union
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
----- s n i p -----

rgrep'ing in include/ shows that it's defined in all
but 'include/asm-sparc64/spinlock.h':

----- s n i p -----
CHROOT Aurora/Woody-devel# rgrep break_lock include | sort | uniq
include/asm-alpha/spinlock.h:   unsigned int break_lock;
include/asm-arm/spinlock.h:     unsigned int break_lock;
include/asm-i386/spinlock.h:    unsigned int break_lock;
include/asm-ia64/spinlock.h:    unsigned int break_lock;
include/asm-m32r/spinlock.h:    unsigned int break_lock;
include/asm-mips/spinlock.h:    unsigned int break_lock;
include/asm-parisc/spinlock.h:  unsigned int break_lock;
include/asm-parisc/system.h:    unsigned int break_lock;
include/asm-ppc/spinlock.h:     unsigned int break_lock;
include/asm-ppc64/spinlock.h:   unsigned int break_lock;
include/asm-s390/spinlock.h:    unsigned int break_lock;
include/asm-sh/spinlock.h:      unsigned int break_lock;
include/asm-sparc/spinlock.h:   unsigned int break_lock;
include/asm-x86_64/spinlock.h:  unsigned int break_lock;
include/linux/sched.h:# define need_lockbreak(lock) ((lock)->break_lock)
----- s n i p -----

Kernel config can be found at http://www.bayour.com/config-2.6.12-rc1.txt.

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

end of thread, other threads:[~2005-03-28 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-28 12:41 Compile fails on SPARC64 - include/linux/sched.h:1171: request for member `break_lock' in something not a structure or union Turbo Fredriksson
2005-03-28 12:56 ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®