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
6dab2f45
Commit
6dab2f45
authored
Oct 09, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] DEC: pt_regs fixes for buserror handlers
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
65542070
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
11 deletions
+13
-11
arch/mips/dec/ecc-berr.c
arch/mips/dec/ecc-berr.c
+4
-1
arch/mips/dec/kn01-berr.c
arch/mips/dec/kn01-berr.c
+2
-2
arch/mips/dec/kn02xa-berr.c
arch/mips/dec/kn02xa-berr.c
+4
-2
include/asm-mips/dec/ecc.h
include/asm-mips/dec/ecc.h
+1
-2
include/asm-mips/dec/kn01.h
include/asm-mips/dec/kn01.h
+1
-2
include/asm-mips/dec/kn02xa.h
include/asm-mips/dec/kn02xa.h
+1
-2
No files found.
arch/mips/dec/ecc-berr.c
View file @
6dab2f45
...
...
@@ -24,6 +24,7 @@
#include <asm/addrspace.h>
#include <asm/bootinfo.h>
#include <asm/cpu.h>
#include <asm/irq_regs.h>
#include <asm/processor.h>
#include <asm/system.h>
#include <asm/traps.h>
...
...
@@ -200,8 +201,10 @@ int dec_ecc_be_handler(struct pt_regs *regs, int is_fixup)
return
dec_ecc_be_backend
(
regs
,
is_fixup
,
0
);
}
irqreturn_t
dec_ecc_be_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
irqreturn_t
dec_ecc_be_interrupt
(
int
irq
,
void
*
dev_id
)
{
struct
pt_regs
*
regs
=
get_irq_regs
();
int
action
=
dec_ecc_be_backend
(
regs
,
0
,
1
);
if
(
action
==
MIPS_BE_DISCARD
)
...
...
arch/mips/dec/kn01-berr.c
View file @
6dab2f45
...
...
@@ -150,10 +150,10 @@ int dec_kn01_be_handler(struct pt_regs *regs, int is_fixup)
return
dec_kn01_be_backend
(
regs
,
is_fixup
,
0
);
}
irqreturn_t
dec_kn01_be_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
irqreturn_t
dec_kn01_be_interrupt
(
int
irq
,
void
*
dev_id
)
{
volatile
u16
*
csr
=
(
void
*
)
CKSEG1ADDR
(
KN01_SLOT_BASE
+
KN01_CSR
);
struct
pt_regs
*
regs
=
get_irq_regs
();
int
action
;
if
(
!
(
*
csr
&
KN01_CSR_MEMERR
))
...
...
arch/mips/dec/kn02xa-berr.c
View file @
6dab2f45
...
...
@@ -21,6 +21,8 @@
#include <linux/types.h>
#include <asm/addrspace.h>
#include <asm/irq_regs.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/traps.h>
...
...
@@ -104,9 +106,9 @@ int dec_kn02xa_be_handler(struct pt_regs *regs, int is_fixup)
return
dec_kn02xa_be_backend
(
regs
,
is_fixup
,
0
);
}
irqreturn_t
dec_kn02xa_be_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
irqreturn_t
dec_kn02xa_be_interrupt
(
int
irq
,
void
*
dev_id
)
{
struct
pt_regs
*
regs
=
get_irq_regs
();
int
action
=
dec_kn02xa_be_backend
(
regs
,
0
,
1
);
if
(
action
==
MIPS_BE_DISCARD
)
...
...
include/asm-mips/dec/ecc.h
View file @
6dab2f45
...
...
@@ -49,8 +49,7 @@ struct pt_regs;
extern
void
dec_ecc_be_init
(
void
);
extern
int
dec_ecc_be_handler
(
struct
pt_regs
*
regs
,
int
is_fixup
);
extern
irqreturn_t
dec_ecc_be_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
);
extern
irqreturn_t
dec_ecc_be_interrupt
(
int
irq
,
void
*
dev_id
);
#endif
#endif
/* __ASM_MIPS_DEC_ECC_H */
include/asm-mips/dec/kn01.h
View file @
6dab2f45
...
...
@@ -84,8 +84,7 @@ extern spinlock_t kn01_lock;
extern
void
dec_kn01_be_init
(
void
);
extern
int
dec_kn01_be_handler
(
struct
pt_regs
*
regs
,
int
is_fixup
);
extern
irqreturn_t
dec_kn01_be_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
);
extern
irqreturn_t
dec_kn01_be_interrupt
(
int
irq
,
void
*
dev_id
);
#endif
#endif
/* __ASM_MIPS_DEC_KN01_H */
include/asm-mips/dec/kn02xa.h
View file @
6dab2f45
...
...
@@ -78,8 +78,7 @@ struct pt_regs;
extern
void
dec_kn02xa_be_init
(
void
);
extern
int
dec_kn02xa_be_handler
(
struct
pt_regs
*
regs
,
int
is_fixup
);
extern
irqreturn_t
dec_kn02xa_be_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
);
extern
irqreturn_t
dec_kn02xa_be_interrupt
(
int
irq
,
void
*
dev_id
);
#endif
#endif
/* __ASM_MIPS_DEC_KN02XA_H */
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