init_module.c 662 B

1234567891011121314151617181920
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * init_module() for uClibc
  4. *
  5. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  6. *
  7. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  8. */
  9. #include <sys/syscall.h>
  10. #ifdef __NR_init_module
  11. int init_module(void *first, void *second, void *third, void *fourth, void *fifth);
  12. /* This may have 5 arguments (for old 2.0 kernels) or 2 arguments
  13. * (for 2.2 and 2.4 kernels). Use the greatest common denominator,
  14. * and let the kernel cope with whatever it gets. It's good at that. */
  15. _syscall5(int, init_module, void *, first, void *, second, void *, third,
  16. void *, fourth, void *, fifth)
  17. #endif