Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f695e497
Commit
f695e497
authored
Dec 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/for-alan
into samba.org:/scratch/anton/sfr
parents
7b732481
7d65ee78
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
65 deletions
+7
-65
arch/ppc64/kernel/chrp_setup.c
arch/ppc64/kernel/chrp_setup.c
+1
-1
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+0
-40
arch/ppc64/kernel/pSeries_pci.c
arch/ppc64/kernel/pSeries_pci.c
+1
-6
arch/ppc64/kernel/xics.c
arch/ppc64/kernel/xics.c
+1
-10
include/asm-ppc64/xics.h
include/asm-ppc64/xics.h
+4
-8
No files found.
arch/ppc64/kernel/chrp_setup.c
View file @
f695e497
...
...
@@ -60,7 +60,7 @@
#include "i8259.h"
#include "open_pic.h"
#include
"xics.h"
#include
<asm/xics.h>
#include <asm/ppcdebug.h>
extern
volatile
unsigned
char
*
chrp_int_ack_special
;
...
...
arch/ppc64/kernel/misc.S
View file @
f695e497
...
...
@@ -398,46 +398,6 @@ _GLOBAL(_outsl_ns)
bdnz
00
b
blr
/*
*
Extended
precision
shifts
*
*
R3
/
R4
has
64
bit
value
*
R5
has
shift
count
*
result
in
R3
/
R4
*
*
ashrdi3
:
XXXYYY
/
ZZZAAA
->
SSSXXX
/
YYYZZZ
*
ashldi3
:
XXXYYY
/
ZZZAAA
->
YYYZZZ
/
AAA000
*
lshrdi3
:
XXXYYY
/
ZZZAAA
->
000
XXX
/
YYYZZZ
*/
/*
MIKEC
:
These
may
no
longer
be
needed
...
what
does
gcc
expect
?
*/
_GLOBAL
(
__ashrdi3
)
li
r6
,
32
sub
r6
,
r6
,
r5
slw
r7
,
r3
,
r6
/*
isolate
YYY
*/
srw
r4
,
r4
,
r5
/*
isolate
ZZZ
*/
or
r4
,
r4
,
r7
/*
YYYZZZ
*/
sraw
r3
,
r3
,
r5
/*
SSSXXX
*/
blr
_GLOBAL
(
__ashldi3
)
li
r6
,
32
sub
r6
,
r6
,
r5
srw
r7
,
r4
,
r6
/*
isolate
ZZZ
*/
slw
r4
,
r4
,
r5
/*
AAA000
*/
slw
r3
,
r3
,
r5
/*
YYY
---
*/
or
r3
,
r3
,
r7
/*
YYYZZZ
*/
blr
_GLOBAL
(
__lshrdi3
)
li
r6
,
32
sub
r6
,
r6
,
r5
slw
r7
,
r3
,
r6
/*
isolate
YYY
*/
srw
r4
,
r4
,
r5
/*
isolate
ZZZ
*/
or
r4
,
r4
,
r7
/*
YYYZZZ
*/
srw
r3
,
r3
,
r5
/*
000
XXX
*/
blr
_GLOBAL
(
abs
)
cmpi
0
,
r3
,
0
bge
10
f
...
...
arch/ppc64/kernel/pSeries_pci.c
View file @
f695e497
...
...
@@ -40,7 +40,6 @@
#include <asm/naca.h>
#include <asm/pci_dma.h>
#include "xics.h"
#include "open_pic.h"
#include "pci.h"
...
...
@@ -402,7 +401,7 @@ alloc_phb(struct device_node *dev, char *model, unsigned int addr_size_words)
* Python
***************************************************************/
if
(
strstr
(
model
,
"Python"
))
{
unsigned
long
chip_regs
;
void
*
chip_regs
;
volatile
u32
*
tmp
,
i
;
PPCDBG
(
PPCDBG_PHBINIT
,
"
\t
Create python
\n
"
);
...
...
@@ -608,10 +607,6 @@ pSeries_pcibios_fixup(void)
pci_read_irq_line
(
dev
);
PPCDBGCALL
(
PPCDBG_PHBINIT
,
dumpPci_Dev
(
dev
)
);
}
if
(
naca
->
interrupt_controller
==
IC_PPC_XIC
)
{
xics_isa_init
();
}
}
/***********************************************************************
...
...
arch/ppc64/kernel/xics.c
View file @
f695e497
...
...
@@ -22,7 +22,7 @@
#include <asm/naca.h>
#include <asm/rtas.h>
#include "i8259.h"
#include
"xics.h"
#include
<asm/xics.h>
#include <asm/ppcdebug.h>
#include <asm/machdep.h>
...
...
@@ -430,15 +430,6 @@ xics_init_IRQ( void )
ppc64_boot_msg
(
0x21
,
"XICS Done"
);
}
void
xics_isa_init
(
void
)
{
return
;
if
(
request_irq
(
xics_irq_8259_cascade
+
XICS_IRQ_OFFSET
,
no_action
,
0
,
"8259 cascade"
,
0
))
printk
(
KERN_ERR
"xics_init_IRQ: couldn't get 8259 cascade
\n
"
);
i8259_init
();
}
void
xics_set_affinity
(
unsigned
int
virq
,
unsigned
long
cpumask
)
{
irq_desc_t
*
desc
=
irq_desc
+
virq
;
...
...
arch/ppc64/kernel
/xics.h
→
include/asm-ppc64
/xics.h
View file @
f695e497
/*
* arch/ppc/kernel/xics.h
* arch/ppc
64
/kernel/xics.h
*
* Copyright 2000 IBM Corporation.
*
...
...
@@ -9,14 +9,10 @@
* 2 of the License, or (at your option) any later version.
*/
#ifndef _PPC_KERNEL_XICS_H
#define _PPC_KERNEL_XICS_H
extern
struct
hw_interrupt_type
xics_pic
;
extern
struct
hw_interrupt_type
xics_8259_pic
;
#ifndef _PPC64_KERNEL_XICS_H
#define _PPC64_KERNEL_XICS_H
void
xics_init_IRQ
(
void
);
int
xics_get_irq
(
struct
pt_regs
*
);
void
xics_isa_init
(
void
);
#endif
/* _PPC_KERNEL_XICS_H */
#endif
/* _PPC
64
_KERNEL_XICS_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