mutex.h 637 B

12345678910111213141516
  1. /* MN10300 Mutex fastpath
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. *
  11. *
  12. * TODO: implement optimized primitives instead, or leave the generic
  13. * implementation in place, or pick the atomic_xchg() based generic
  14. * implementation. (see asm-generic/mutex-xchg.h for details)
  15. */
  16. #include <asm-generic/mutex-null.h>