Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
c51279ec
Commit
c51279ec
authored
May 07, 2009
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Kill off unused
SH-5
irq_describe cruft.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
0fb849b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
38 deletions
+0
-38
arch/sh/boards/mach-cayman/irq.c
arch/sh/boards/mach-cayman/irq.c
+0
-15
arch/sh/include/cpu-sh5/cpu/irq.h
arch/sh/include/cpu-sh5/cpu/irq.h
+0
-1
arch/sh/kernel/cpu/irq/intc-sh5.c
arch/sh/kernel/cpu/irq/intc-sh5.c
+0
-22
No files found.
arch/sh/boards/mach-cayman/irq.c
View file @
c51279ec
...
...
@@ -142,21 +142,6 @@ int cayman_irq_demux(int evt)
return
irq
;
}
#if defined(CONFIG_PROC_FS) && defined(CONFIG_SYSCTL)
int
cayman_irq_describe
(
char
*
p
,
int
irq
)
{
if
(
irq
<
NR_INTC_IRQS
)
{
return
intc_irq_describe
(
p
,
irq
);
}
else
if
(
irq
<
NR_INTC_IRQS
+
8
)
{
return
sprintf
(
p
,
"(SMSC %d)"
,
irq
-
NR_INTC_IRQS
);
}
else
if
((
irq
>=
NR_INTC_IRQS
+
24
)
&&
(
irq
<
NR_INTC_IRQS
+
32
))
{
return
sprintf
(
p
,
"(PCI2 %d)"
,
irq
-
(
NR_INTC_IRQS
+
24
));
}
return
0
;
}
#endif
void
init_cayman_irq
(
void
)
{
int
i
;
...
...
arch/sh/include/cpu-sh5/cpu/irq.h
View file @
c51279ec
...
...
@@ -111,7 +111,6 @@
#define TOP_PRIORITY 15
extern
int
intc_evt_to_irq
[(
0xE20
/
0x20
)
+
1
];
int
intc_irq_describe
(
char
*
p
,
int
irq
);
extern
int
platform_int_priority
[
NR_INTC_IRQS
];
#endif
/* __ASM_SH_CPU_SH5_IRQ_H */
arch/sh/kernel/cpu/irq/intc-sh5.c
View file @
c51279ec
...
...
@@ -160,28 +160,6 @@ void make_intc_irq(unsigned int irq)
disable_intc_irq
(
irq
);
}
#if defined(CONFIG_PROC_FS) && defined(CONFIG_SYSCTL)
static
int
IRQ_to_vectorN
[
NR_INTC_IRQS
]
=
{
0x12
,
0x15
,
0x18
,
0x1B
,
0x40
,
0x41
,
0x42
,
0x43
,
/* 0- 7 */
-
1
,
-
1
,
-
1
,
-
1
,
0x50
,
0x51
,
0x52
,
0x53
,
/* 8-15 */
0x54
,
0x55
,
0x32
,
0x33
,
0x34
,
0x35
,
0x36
,
-
1
,
/* 16-23 */
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
/* 24-31 */
0x20
,
0x21
,
0x22
,
0x23
,
0x24
,
0x25
,
0x26
,
0x38
,
/* 32-39 */
0x39
,
0x3A
,
0x3B
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
/* 40-47 */
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
/* 48-55 */
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
0x2B
,
/* 56-63 */
};
int
intc_irq_describe
(
char
*
p
,
int
irq
)
{
if
(
irq
<
NR_INTC_IRQS
)
return
sprintf
(
p
,
"(0x%3x)"
,
IRQ_to_vectorN
[
irq
]
*
0x20
);
else
return
0
;
}
#endif
void
__init
plat_irq_setup
(
void
)
{
unsigned
long
long
__dummy0
,
__dummy1
=~
0x00000000100000f0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment