devfsd-1.3.25-pic.patch 529 B

1234567891011121314151617
  1. --- check_kernel.c.orig 2004-02-06 16:41:32.000000000 -0500
  2. +++ check_kernel.c 2004-02-06 16:41:55.000000000 -0500
  3. @@ -6,13 +6,8 @@
  4. extern char *modules_devfs;
  5. -/* copied over from module-init-tools backward_compat.c */
  6. -#ifndef __ia64 /* breaks ia64. */
  7. -static _syscall2(long, create_module, const char *, name, size_t, size);
  8. -#else
  9. #define create_module(name, size) \
  10. syscall(__NR_create_module, (name), (size))
  11. -#endif
  12. /* returns true if we have a 2.5.48+ kernel */
  13. int check_kernel_version (int verbose)