sa-kern-abi.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * This software is available to you under a choice of one of two
  3. * licenses. You may choose to be licensed under the terms of the GNU
  4. * General Public License (GPL) Version 2, available from the file
  5. * COPYING in the main directory of this source tree, or the
  6. * OpenIB.org BSD license below:
  7. *
  8. * Redistribution and use in source and binary forms, with or
  9. * without modification, are permitted provided that the following
  10. * conditions are met:
  11. *
  12. * - Redistributions of source code must retain the above
  13. * copyright notice, this list of conditions and the following
  14. * disclaimer.
  15. *
  16. * - Redistributions in binary form must reproduce the above
  17. * copyright notice, this list of conditions and the following
  18. * disclaimer in the documentation and/or other materials
  19. * provided with the distribution.
  20. *
  21. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  22. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  24. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  25. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  26. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  27. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  28. * SOFTWARE.
  29. */
  30. #ifndef INFINIBAND_SA_KERN_ABI_H
  31. #define INFINIBAND_SA_KERN_ABI_H
  32. #warning "This header is obsolete, use rdma/ib_user_sa.h instead"
  33. #include <rdma/ib_user_sa.h>
  34. #define ib_kern_path_rec ib_user_path_rec
  35. #define ibv_kern_path_rec ib_user_path_rec
  36. #endif