https://github.com/torvalds/linux
Revision 22747d6b41f31c71abc2b351bc9f6bfa6bae5d5e authored by Francois Romieu on 15 February 2007, 22:37:50 UTC, committed by Jeff Garzik on 20 February 2007, 16:18:13 UTC
Mantra: don't use flush_scheduled_work with RTNL held.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
1 parent 83cbb4d
Raw File
Tip revision: 22747d6b41f31c71abc2b351bc9f6bfa6bae5d5e authored by Francois Romieu on 15 February 2007, 22:37:50 UTC
s2io: RTNL and flush_scheduled_work deadlock
Tip revision: 22747d6
a.out.h
#ifndef __I386_A_OUT_H__
#define __I386_A_OUT_H__

struct exec
{
  unsigned long a_info;		/* Use macros N_MAGIC, etc for access */
  unsigned a_text;		/* length of text, in bytes */
  unsigned a_data;		/* length of data, in bytes */
  unsigned a_bss;		/* length of uninitialized data area for file, in bytes */
  unsigned a_syms;		/* length of symbol table data in file, in bytes */
  unsigned a_entry;		/* start address */
  unsigned a_trsize;		/* length of relocation info for text, in bytes */
  unsigned a_drsize;		/* length of relocation info for data, in bytes */
};

#define N_TRSIZE(a)	((a).a_trsize)
#define N_DRSIZE(a)	((a).a_drsize)
#define N_SYMSIZE(a)	((a).a_syms)

#ifdef __KERNEL__

#define STACK_TOP	TASK_SIZE

#endif

#endif /* __A_OUT_GNU_H__ */
back to top