Skip to content

Commit

Permalink
m68k: use mmu timex.h for non-mmu setups as well
Browse files Browse the repository at this point in the history
The non-mmu timex.h can be cleaned up and ends up being identical
to the mmu timex.h, just just use that.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Greg Ungerer committed Mar 24, 2009
1 parent 34055b8 commit ebafc17
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 45 deletions.
21 changes: 17 additions & 4 deletions arch/m68k/include/asm/timex.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
#ifdef __uClinux__
#include "timex_no.h"
#else
#include "timex_mm.h"
/*
* linux/include/asm-m68k/timex.h
*
* m68k architecture timex specifications
*/
#ifndef _ASMm68k_TIMEX_H
#define _ASMm68k_TIMEX_H

#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */

typedef unsigned long cycles_t;

static inline cycles_t get_cycles(void)
{
return 0;
}

#endif
18 changes: 0 additions & 18 deletions arch/m68k/include/asm/timex_mm.h

This file was deleted.

23 changes: 0 additions & 23 deletions arch/m68k/include/asm/timex_no.h

This file was deleted.

0 comments on commit ebafc17

Please sign in to comment.