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
2dc5d4a5
Commit
2dc5d4a5
authored
Jun 09, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perfmon_generic.h, perfmon.c, Makefile:
ia64: no perfmon 2.5 fix
parent
53846184
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
arch/ia64/kernel/Makefile
arch/ia64/kernel/Makefile
+3
-2
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+4
-7
arch/ia64/kernel/perfmon_generic.h
arch/ia64/kernel/perfmon_generic.h
+2
-2
No files found.
arch/ia64/kernel/Makefile
View file @
2dc5d4a5
...
...
@@ -5,8 +5,8 @@
extra-y
:=
head.o init_task.o
obj-y
:=
acpi.o entry.o efi.o efi_stub.o gate.o ia64_ksyms.o irq.o irq_ia64.o irq_lsapic.o
\
ivt.o machvec.o pal.o p
erfmon.o perfmon_default_smpl.o process.o ptrace.o sal.o
\
s
emaphore.o setup.o signal.o s
ys_ia64.o time.o traps.o unaligned.o unwind.o
ivt.o machvec.o pal.o p
rocess.o perfmon.o ptrace.o sal.o semaphore.o setup.o signal.o
\
sys_ia64.o time.o traps.o unaligned.o unwind.o
obj-$(CONFIG_EFI_VARS)
+=
efivars.o
obj-$(CONFIG_FSYS)
+=
fsys.o
...
...
@@ -18,6 +18,7 @@ obj-$(CONFIG_IA64_PALINFO) += palinfo.o
obj-$(CONFIG_IOSAPIC)
+=
iosapic.o
obj-$(CONFIG_MODULES)
+=
module.o
obj-$(CONFIG_SMP)
+=
smp.o smpboot.o
obj-$(CONFIG_PERFMON)
+=
perfmon_default_smpl.o
arch/$(ARCH)/kernel/asm-offsets.s
:
include/asm-$(ARCH)/.offsets.h.stamp
...
...
arch/ia64/kernel/perfmon.c
View file @
2dc5d4a5
...
...
@@ -705,7 +705,6 @@ pfm_remap_page_range(struct vm_area_struct *vma, unsigned long from, unsigned lo
static
inline
unsigned
long
pfm_protect_ctx_ctxsw
(
pfm_context_t
*
x
)
{
unsigned
long
f
;
spin_lock_irq
(
&
(
x
)
->
ctx_lock
);
return
0UL
;
}
...
...
@@ -6500,13 +6499,11 @@ pfm_inherit(struct task_struct *task, struct pt_regs *regs)
ia64_psr
(
regs
)
->
pp
=
ia64_psr
(
regs
)
->
up
=
0
;
ia64_psr
(
regs
)
->
sp
=
1
;
}
#else
/* !CONFIG_PERFMON */
asmlinkage
long
sys_perfmonctl
(
pfm_ctxid_t
ctxid
,
int
cmd
,
void
*
req
,
int
count
,
long
arg5
,
long
arg6
,
long
arg
7
,
long
arg
8
,
long
stack
)
sys_perfmonctl
(
int
fd
,
int
cmd
,
void
*
arg
,
int
count
,
long
arg5
,
long
arg6
,
long
arg7
,
long
arg8
,
long
stack
)
{
return
-
ENOSYS
;
}
#endif
/* !CONFIG_PERFMON */
#endif
/* CONFIG_PERFMON */
arch/ia64/kernel/perfmon_generic.h
View file @
2dc5d4a5
...
...
@@ -13,7 +13,7 @@
#error "This file should not be used when CONFIG_ITANIUM or CONFIG_MCKINLEY is defined"
#endif
static
pfm_reg_desc_t
p
mc_gen
_desc
[
PMU_MAX_PMCS
]
=
{
static
pfm_reg_desc_t
p
fm_gen_pmc
_desc
[
PMU_MAX_PMCS
]
=
{
/* pmc0 */
{
PFM_REG_CONTROL
,
0
,
0x1UL
,
-
1UL
,
NULL
,
NULL
,
{
0UL
,
0UL
,
0UL
,
0UL
},
{
0UL
,
0UL
,
0UL
,
0UL
}},
/* pmc1 */
{
PFM_REG_CONTROL
,
0
,
0x0UL
,
-
1UL
,
NULL
,
NULL
,
{
0UL
,
0UL
,
0UL
,
0UL
},
{
0UL
,
0UL
,
0UL
,
0UL
}},
/* pmc2 */
{
PFM_REG_CONTROL
,
0
,
0x0UL
,
-
1UL
,
NULL
,
NULL
,
{
0UL
,
0UL
,
0UL
,
0UL
},
{
0UL
,
0UL
,
0UL
,
0UL
}},
...
...
@@ -25,7 +25,7 @@ static pfm_reg_desc_t pmc_gen_desc[PMU_MAX_PMCS]={
{
PFM_REG_END
,
0
,
0x0UL
,
-
1UL
,
NULL
,
NULL
,
{
0
,},
{
0
,}},
/* end marker */
};
static
pfm_reg_desc_t
p
md_gen
_desc
[
PMU_MAX_PMDS
]
=
{
static
pfm_reg_desc_t
p
fm_gen_pmd
_desc
[
PMU_MAX_PMDS
]
=
{
/* pmd0 */
{
PFM_REG_NOTIMPL
,
0
,
0x0UL
,
-
1UL
,
NULL
,
NULL
,
{
0
,},
{
0
,}},
/* pmd1 */
{
PFM_REG_NOTIMPL
,
0
,
0x0UL
,
-
1UL
,
NULL
,
NULL
,
{
0
,},
{
0
,}},
/* pmd2 */
{
PFM_REG_NOTIMPL
,
0
,
0x0UL
,
-
1UL
,
NULL
,
NULL
,
{
0
,},
{
0
,}},
...
...
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