Commit 2512e07e authored by Komal Shah's avatar Komal Shah Committed by Kevin Hilman

ARM: DaVinci: Remove hrtime.h, preempt.h, param.h

As of now no one is using these header files, so removing it.
Signed-off-by: default avatarKomal Shah <komal_shah802003@yahoo.com>
parent 0cb7a09a
/*
* include/asm-arm/arch-omap/hrtime.h
*
* HRT hooks for the TI DaVinci
*
* Author: MontaVista, Software, Inc. <source@mvista.com>
*
* 2003-2004 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/
#ifndef __ASM_ARCH_HRTIME_H_
#define __ASM_ARCH_HRTIME_H_
#include <linux/timex.h>
#define SC_ARCH2NSEC 25 /* int(log2(2 * CLOCK_TICK_RATE - 1)) */
#define SC_NSEC2ARCH 32
#define scaled_nsec_per_arch_cycle \
(SC_n(SC_ARCH2NSEC, NSEC_PER_SEC) / CLOCK_TICK_RATE)
#define scaled_arch_cycles_per_nsec \
(SC_n(SC_NSEC2ARCH, CLOCK_TICK_RATE) / NSEC_PER_SEC)
#define arch_cycle_to_nsec(cycles) \
mpy_sc_n(SC_ARCH2NSEC, (cycles), scaled_nsec_per_arch_cycle)
#define nsec_to_arch_cycle(nsec) \
mpy_sc_n(SC_NSEC2ARCH, (nsec), scaled_arch_cycles_per_nsec)
#ifdef CONFIG_HIGH_RES_TIMERS
int schedule_hr_timer_int(unsigned long, int);
int get_arch_cycles(unsigned long);
#define hrtimer_use 1
#define hr_time_resolution 1000 /* (NSEC_PER_SEC / CLOCK_TICK_RATE) */
#define arch_cycles_per_jiffy (long)(CLOCK_TICK_RATE / HZ)
#define schedule_jiffies_int(x) (get_arch_cycles(x) >= arch_cycles_per_jiffy)
#endif /* CONFIG_HIGH_RES_TIMERS */
#endif /* __ASM_ARCH_HRTIME_H_ */
/*
* linux/include/asm-arm/arch-davinci/param.h
*
* BRIEF MODULE DESCRIPTION
* DAVINCI Virtual memofy definitions
*
* Copyright (C) 2006 Texas Instruments.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
/*
* linux/include/asm-arm/arch-davinci/preempt.h
*
* BRIEF MODULE DESCRIPTION
* DAVINCI Virtual preempt definitions
*
* Copyright (C) 2006 Texas Instruments.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __ASM_ARCH_PREEMPT_H
#define __ASM_ARCH_PREEMPT_H
/*
* DaVinci timers run at clk_ref = 27MHz
*/
#define TICKS_PER_USEC 27
#endif /* __ASM_ARCH_PREEMPT_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment