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
Kirill Smelkov
linux
Commits
909d4b7e
Commit
909d4b7e
authored
Dec 08, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: get rid of -fomit-frame-pointer and implement xics ibm,int-on
parent
e54c378a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
arch/ppc64/Kconfig
arch/ppc64/Kconfig
+4
-0
arch/ppc64/kernel/xics.c
arch/ppc64/kernel/xics.c
+10
-0
No files found.
arch/ppc64/Kconfig
View file @
909d4b7e
...
@@ -37,6 +37,10 @@ config COMPAT
...
@@ -37,6 +37,10 @@ config COMPAT
bool
bool
default y
default y
config FRAME_POINTER
bool
default y
source "init/Kconfig"
source "init/Kconfig"
...
...
arch/ppc64/kernel/xics.c
View file @
909d4b7e
...
@@ -91,6 +91,7 @@ unsigned int default_distrib_server = 0;
...
@@ -91,6 +91,7 @@ unsigned int default_distrib_server = 0;
/* RTAS service tokens */
/* RTAS service tokens */
int
ibm_get_xive
;
int
ibm_get_xive
;
int
ibm_set_xive
;
int
ibm_set_xive
;
int
ibm_int_on
;
int
ibm_int_off
;
int
ibm_int_off
;
struct
xics_interrupt_node
{
struct
xics_interrupt_node
{
...
@@ -162,6 +163,14 @@ xics_enable_irq(
...
@@ -162,6 +163,14 @@ xics_enable_irq(
irq
,
call_status
,
status
);
irq
,
call_status
,
status
);
return
;
return
;
}
}
/* Now unmask the interrupt (often a no-op) */
call_status
=
rtas_call
(
ibm_int_on
,
1
,
1
,
(
unsigned
long
*
)
&
status
,
irq
);
if
(
call_status
!=
0
)
{
printk
(
"xics_disable_irq on: irq=%x: rtas_call failed, retn=%lx
\n
"
,
irq
,
call_status
);
return
;
}
}
}
void
void
...
@@ -302,6 +311,7 @@ xics_init_IRQ( void )
...
@@ -302,6 +311,7 @@ xics_init_IRQ( void )
ibm_get_xive
=
rtas_token
(
"ibm,get-xive"
);
ibm_get_xive
=
rtas_token
(
"ibm,get-xive"
);
ibm_set_xive
=
rtas_token
(
"ibm,set-xive"
);
ibm_set_xive
=
rtas_token
(
"ibm,set-xive"
);
ibm_int_on
=
rtas_token
(
"ibm,int-on"
);
ibm_int_off
=
rtas_token
(
"ibm,int-off"
);
ibm_int_off
=
rtas_token
(
"ibm,int-off"
);
np
=
find_type_devices
(
"PowerPC-External-Interrupt-Presentation"
);
np
=
find_type_devices
(
"PowerPC-External-Interrupt-Presentation"
);
...
...
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