-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m68k: use mmu timex.h for non-mmu setups as well
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
Showing
3 changed files
with
17 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.