Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178086
b: refs/heads/master
c: a582e6f
h: refs/heads/master
v: v3
  • Loading branch information
Michael Cree authored and Matt Turner committed Dec 18, 2009
1 parent f6f58d0 commit d998acd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 21797c599c710d3851d241c4b50690f2482bf618
refs/heads/master: a582e6f01b90211933e70edcec9bc0bbb1157402
1 change: 1 addition & 0 deletions trunk/arch/alpha/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config ALPHA
select HAVE_IDE
select HAVE_OPROFILE
select HAVE_SYSCALL_WRAPPERS
select HAVE_PERF_EVENTS
help
The Alpha is a 64-bit general-purpose processor designed and
marketed by the Digital Equipment Corporation of blessed memory,
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/alpha/include/asm/perf_event.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef __ASM_ALPHA_PERF_EVENT_H
#define __ASM_ALPHA_PERF_EVENT_H

/* Alpha only supports software events through this interface. */
static inline void set_perf_event_pending(void) { }

#define PERF_EVENT_INDEX_OFFSET 0

#endif /* __ASM_ALPHA_PERF_EVENT_H */
3 changes: 2 additions & 1 deletion trunk/arch/alpha/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,11 @@
#define __NR_preadv 490
#define __NR_pwritev 491
#define __NR_rt_tgsigqueueinfo 492
#define __NR_perf_event_open 493

#ifdef __KERNEL__

#define NR_SYSCALLS 493
#define NR_SYSCALLS 494

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/alpha/kernel/systbls.S
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ sys_call_table:
.quad sys_preadv /* 490 */
.quad sys_pwritev
.quad sys_rt_tgsigqueueinfo
.quad sys_perf_event_open

.size sys_call_table, . - sys_call_table
.type sys_call_table, @object
Expand Down

0 comments on commit d998acd

Please sign in to comment.