home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-um / pda.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  636 b   |  32 lines

  1. /*
  2.  * Copyright 2003 PathScale, Inc.
  3.  *
  4.  * Licensed under the GPL
  5.  */
  6.  
  7. #ifndef __UM_PDA_X86_64_H
  8. #define __UM_PDA_X86_64_H
  9.  
  10. /* XXX */
  11. struct foo {
  12.     unsigned int __softirq_pending;
  13.     unsigned int __nmi_count;
  14. };
  15.  
  16. extern struct foo me;
  17.  
  18. #define read_pda(me) (&me)
  19.  
  20. #endif
  21.  
  22. /*
  23.  * Overrides for Emacs so that we follow Linus's tabbing style.
  24.  * Emacs will notice this stuff at the end of the file and automatically
  25.  * adjust the settings for this buffer only.  This must remain at the end
  26.  * of the file.
  27.  * ---------------------------------------------------------------------------
  28.  * Local variables:
  29.  * c-file-style: "linux"
  30.  * End:
  31.  */
  32.