mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk: move fiq.h from mach-rk30 to plat-rk
This commit is contained in:
@@ -1,27 +1,8 @@
|
||||
/*
|
||||
* Copyright (C) 2010 Google, Inc.
|
||||
*
|
||||
* Author:
|
||||
* Iliyan Malchev <malchev@google.com>
|
||||
*
|
||||
* This software is licensed under the terms of the GNU General Public
|
||||
* License version 2, as published by the Free Software Foundation, and
|
||||
* may be copied, distributed, and modified under those terms.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ASM_ARCH_RK30_FIQ_H
|
||||
#define __ASM_ARCH_RK30_FIQ_H
|
||||
|
||||
/* enable/disable an interrupt that is an FIQ (safe from FIQ context?) */
|
||||
void rk_fiq_enable(int n);
|
||||
void rk_fiq_disable(int n);
|
||||
void rk_irq_setpending(int irq);
|
||||
void rk_irq_clearpending(int irq);
|
||||
#include <plat/fiq.h>
|
||||
|
||||
void rk30_fiq_init(void);
|
||||
|
||||
#endif
|
||||
|
||||
10
arch/arm/plat-rk/include/plat/fiq.h
Normal file
10
arch/arm/plat-rk/include/plat/fiq.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __PLAT_FIQ_H
|
||||
#define __PLAT_FIQ_H
|
||||
|
||||
/* enable/disable an interrupt that is an FIQ (safe from FIQ context?) */
|
||||
void rk_fiq_enable(int n);
|
||||
void rk_fiq_disable(int n);
|
||||
void rk_irq_setpending(int irq);
|
||||
void rk_irq_clearpending(int irq);
|
||||
|
||||
#endif
|
||||
@@ -26,13 +26,11 @@
|
||||
#include <linux/serial_reg.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/stacktrace.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/fiq_debugger.h>
|
||||
#include <asm/hardware/gic.h>
|
||||
#include <plat/rk_fiq_debugger.h>
|
||||
#include <mach/system.h>
|
||||
#include <mach/fiq.h>
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
#include <plat/fiq.h>
|
||||
|
||||
struct rk_fiq_debugger {
|
||||
struct fiq_debugger_pdata pdata;
|
||||
|
||||
Reference in New Issue
Block a user