delay.c 580 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2003 PathScale, Inc.
  3. * Copied from arch/x86_64
  4. *
  5. * Licensed under the GPL
  6. */
  7. #include "asm/processor.h"
  8. void __delay(unsigned long loops)
  9. {
  10. unsigned long i;
  11. for(i = 0; i < loops; i++) ;
  12. }
  13. /*
  14. * Overrides for Emacs so that we follow Linus's tabbing style.
  15. * Emacs will notice this stuff at the end of the file and automatically
  16. * adjust the settings for this buffer only. This must remain at the end
  17. * of the file.
  18. * ---------------------------------------------------------------------------
  19. * Local variables:
  20. * c-file-style: "linux"
  21. * End:
  22. */