kvm_lib.c 655 B

123456789101112131415161718192021
  1. /*
  2. * kvm_lib.c: Compile some libraries for kvm-intel module.
  3. *
  4. * Just include kernel's library, and disable symbols export.
  5. * Copyright (C) 2008, Intel Corporation.
  6. * Xiantao Zhang (xiantao.zhang@intel.com)
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. */
  13. #undef CONFIG_MODULES
  14. #include <linux/module.h>
  15. #undef CONFIG_KALLSYMS
  16. #undef EXPORT_SYMBOL
  17. #undef EXPORT_SYMBOL_GPL
  18. #define EXPORT_SYMBOL(sym)
  19. #define EXPORT_SYMBOL_GPL(sym)
  20. #include "../../../lib/vsprintf.c"
  21. #include "../../../lib/ctype.c"