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
410dc0aa
Commit
410dc0aa
authored
15 years ago
by
Tony Luck
Browse files
Options
Downloads
Patches
Plain Diff
[IA64] sanity in #include files. Move fnptr to types.h
Signed-off-by:
Tony Luck
<
tony.luck@intel.com
>
parent
02b763b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/ia64/include/asm/ftrace.h
+0
-1
0 additions, 1 deletion
arch/ia64/include/asm/ftrace.h
arch/ia64/include/asm/kprobes.h
+0
-5
0 additions, 5 deletions
arch/ia64/include/asm/kprobes.h
arch/ia64/include/asm/types.h
+5
-0
5 additions, 0 deletions
arch/ia64/include/asm/types.h
with
5 additions
and
6 deletions
arch/ia64/include/asm/ftrace.h
+
0
−
1
View file @
410dc0aa
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
extern
void
_mcount
(
unsigned
long
pfs
,
unsigned
long
r1
,
unsigned
long
b0
,
unsigned
long
r0
);
extern
void
_mcount
(
unsigned
long
pfs
,
unsigned
long
r1
,
unsigned
long
b0
,
unsigned
long
r0
);
#define mcount _mcount
#define mcount _mcount
#include
<asm/kprobes.h>
/* In IA64, MCOUNT_ADDR is set in link time, so it's not a constant at compile time */
/* In IA64, MCOUNT_ADDR is set in link time, so it's not a constant at compile time */
#define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
#define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
#define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)
#define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)
...
...
This diff is collapsed.
Click to expand it.
arch/ia64/include/asm/kprobes.h
+
0
−
5
View file @
410dc0aa
...
@@ -103,11 +103,6 @@ typedef struct kprobe_opcode {
...
@@ -103,11 +103,6 @@ typedef struct kprobe_opcode {
bundle_t
bundle
;
bundle_t
bundle
;
}
kprobe_opcode_t
;
}
kprobe_opcode_t
;
struct
fnptr
{
unsigned
long
ip
;
unsigned
long
gp
;
};
/* Architecture specific copy of original instruction*/
/* Architecture specific copy of original instruction*/
struct
arch_specific_insn
{
struct
arch_specific_insn
{
/* copy of the instruction to be emulated */
/* copy of the instruction to be emulated */
...
...
This diff is collapsed.
Click to expand it.
arch/ia64/include/asm/types.h
+
5
−
0
View file @
410dc0aa
...
@@ -30,6 +30,11 @@
...
@@ -30,6 +30,11 @@
typedef
unsigned
int
umode_t
;
typedef
unsigned
int
umode_t
;
struct
fnptr
{
unsigned
long
ip
;
unsigned
long
gp
;
};
/*
/*
* These aren't exported outside the kernel to avoid name space clashes
* These aren't exported outside the kernel to avoid name space clashes
*/
*/
...
...
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