lkml.org 
[lkml]   [2008]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 38/58] microblaze_v5: headers for irq
    Date
    From: Michal Simek <monstr@monstr.eu>

    Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
    Signed-off-by: Michal Simek <monstr@monstr.eu>
    ---
    include/asm-microblaze/hardirq.h | 29 +++++++++++++++++++++++++++++
    include/asm-microblaze/irq_regs.h | 1 +
    2 files changed, 30 insertions(+), 0 deletions(-)
    create mode 100644 include/asm-microblaze/hardirq.h
    create mode 100644 include/asm-microblaze/hw_irq.h
    create mode 100644 include/asm-microblaze/irq_regs.h

    diff --git a/include/asm-microblaze/hardirq.h b/include/asm-microblaze/hardirq.h
    new file mode 100644
    index 0000000..2aca035
    --- /dev/null
    +++ b/include/asm-microblaze/hardirq.h
    @@ -0,0 +1,29 @@
    +/*
    + * Copyright (C) 2006 Atmark Techno, Inc.
    + *
    + * This file is subject to the terms and conditions of the GNU General Public
    + * License. See the file "COPYING" in the main directory of this archive
    + * for more details.
    + */
    +
    +#ifndef _ASM_MICROBLAZE_HARDIRQ_H
    +#define _ASM_MICROBLAZE_HARDIRQ_H
    +
    +#include <linux/cache.h>
    +#include <linux/irq.h>
    +#include <asm/irq.h>
    +#include <asm/current.h>
    +#include <asm/ptrace.h>
    +
    +/* should be defined in each interrupt controller driver */
    +extern unsigned int get_irq(struct pt_regs *regs);
    +
    +typedef struct {
    + unsigned int __softirq_pending;
    +} ____cacheline_aligned irq_cpustat_t;
    +
    +void ack_bad_irq(unsigned int irq);
    +
    +#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
    +
    +#endif /* _ASM_MICROBLAZE_HARDIRQ_H */
    diff --git a/include/asm-microblaze/hw_irq.h b/include/asm-microblaze/hw_irq.h
    new file mode 100644
    index 0000000..e69de29
    diff --git a/include/asm-microblaze/irq_regs.h b/include/asm-microblaze/irq_regs.h
    new file mode 100644
    index 0000000..3dd9c0b
    --- /dev/null
    +++ b/include/asm-microblaze/irq_regs.h
    @@ -0,0 +1 @@
    +#include <asm-generic/irq_regs.h>
    --
    1.5.4.GIT


    \
     
     \ /
      Last update: 2008-07-08 14:35    [W:2.776 / U:28.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site