Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
897d8527
Commit
897d8527
authored
16 years ago
by
Russell King
Committed by
Russell King
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ARM] Fix circular include dependency with IRQ headers
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
bccf6502
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/arm/include/asm/hw_irq.h
+19
-1
19 additions, 1 deletion
arch/arm/include/asm/hw_irq.h
arch/arm/include/asm/mach/irq.h
+0
-20
0 additions, 20 deletions
arch/arm/include/asm/mach/irq.h
arch/arm/kernel/irq.c
+1
-0
1 addition, 0 deletions
arch/arm/kernel/irq.c
with
20 additions
and
21 deletions
arch/arm/include/asm/hw_irq.h
+
19
−
1
View file @
897d8527
...
@@ -4,6 +4,24 @@
...
@@ -4,6 +4,24 @@
#ifndef _ARCH_ARM_HW_IRQ_H
#ifndef _ARCH_ARM_HW_IRQ_H
#define _ARCH_ARM_HW_IRQ_H
#define _ARCH_ARM_HW_IRQ_H
#include
<asm/mach/irq.h>
static
inline
void
ack_bad_irq
(
int
irq
)
{
extern
unsigned
long
irq_err_count
;
irq_err_count
++
;
}
/*
* Obsolete inline function for calling irq descriptor handlers.
*/
static
inline
void
desc_handle_irq
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
desc
->
handle_irq
(
irq
,
desc
);
}
void
set_irq_flags
(
unsigned
int
irq
,
unsigned
int
flags
);
#define IRQF_VALID (1 << 0)
#define IRQF_PROBE (1 << 1)
#define IRQF_NOAUTOEN (1 << 2)
#endif
#endif
This diff is collapsed.
Click to expand it.
arch/arm/include/asm/mach/irq.h
+
0
−
20
View file @
897d8527
...
@@ -21,20 +21,6 @@ extern void (*init_arch_irq)(void);
...
@@ -21,20 +21,6 @@ extern void (*init_arch_irq)(void);
extern
void
init_FIQ
(
void
);
extern
void
init_FIQ
(
void
);
extern
int
show_fiq_list
(
struct
seq_file
*
,
void
*
);
extern
int
show_fiq_list
(
struct
seq_file
*
,
void
*
);
/*
* Obsolete inline function for calling irq descriptor handlers.
*/
static
inline
void
desc_handle_irq
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
desc
->
handle_irq
(
irq
,
desc
);
}
void
set_irq_flags
(
unsigned
int
irq
,
unsigned
int
flags
);
#define IRQF_VALID (1 << 0)
#define IRQF_PROBE (1 << 1)
#define IRQF_NOAUTOEN (1 << 2)
/*
/*
* This is for easy migration, but should be changed in the source
* This is for easy migration, but should be changed in the source
*/
*/
...
@@ -45,10 +31,4 @@ do { \
...
@@ -45,10 +31,4 @@ do { \
spin_unlock(&desc->lock); \
spin_unlock(&desc->lock); \
} while(0)
} while(0)
extern
unsigned
long
irq_err_count
;
static
inline
void
ack_bad_irq
(
int
irq
)
{
irq_err_count
++
;
}
#endif
#endif
This diff is collapsed.
Click to expand it.
arch/arm/kernel/irq.c
+
1
−
0
View file @
897d8527
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
#include
<linux/proc_fs.h>
#include
<linux/proc_fs.h>
#include
<asm/system.h>
#include
<asm/system.h>
#include
<asm/mach/irq.h>
#include
<asm/mach/time.h>
#include
<asm/mach/time.h>
/*
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment