pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Diff pastebin - collaborative debugging tool View Help


Posted by Igor on Sun 23 Mar 07:08
report abuse | View followups from Igor, Anonymous and 111 | download | new post

  1. diff -ru vmmon-only.org/include/vcpuset.h vmmon-only/include/vcpuset.h
  2. --- vmmon-only.org/include/vcpuset.h    2008-03-03 21:16:13.000000000 -0500
  3. +++ vmmon-only/include/vcpuset.h        2008-03-23 02:30:45.000000000 -0400
  4.  -71,7 +71,7 @@
  5.  #define ffs(x) ffs_x86_64(x)
  6.  
  7.  #elif defined MODULE
  8. -   #include "asm/bitops.h"
  9. +   #include "linux/bitops.h"
  10.  #elif defined __APPLE__ && defined KERNEL
  11.     /*
  12.      * XXXMACOS An ugly hack to resolve redefinition of PAGE_ defines
  13. diff -ru vmmon-only.org/include/vm_basic_types.h vmmon-only/include/vm_basic_types.h
  14. --- vmmon-only.org/include/vm_basic_types.h     2008-03-03 21:16:13.000000000 -0500
  15. +++ vmmon-only/include/vm_basic_types.h 2008-03-23 02:25:39.000000000 -0400
  16.  -163,6 +163,8 @@
  17.  #   endif
  18.  
  19.  #   ifndef _STDINT_H
  20. +#      include <linux/version.h>
  21. +#      if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
  22.  #      ifdef VM_I386
  23.  #         ifdef VM_X86_64
  24.               typedef uint64    uintptr_t;
  25.  -175,6 +177,7 @@
  26.            typedef uint64    uintptr_t;
  27.  #      endif
  28.  #   endif
  29. +#   endif
  30.  #endif
  31.  
  32.  
  33.  -270,6 +273,7 @@
  34.  #define CHOOSE_PERCENT  asPercent(-1)
  35.  
  36.  
  37. +#include <linux/types.h>
  38.  typedef uintptr_t VA;
  39.  typedef uintptr_t VPN;

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post