timex.h 343 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2012 ARM Ltd.
  4. */
  5. #ifndef __ASM_TIMEX_H
  6. #define __ASM_TIMEX_H
  7. #include <asm/arch_timer.h>
  8. /*
  9. * Use the current timer as a cycle counter since this is what we use for
  10. * the delay loop.
  11. */
  12. #define get_cycles() arch_timer_read_counter()
  13. #include <asm-generic/timex.h>
  14. #endif