Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147190
b: refs/heads/master
c: d662ed2
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras committed Jan 9, 2009
1 parent c649dc8 commit df8cc6f
Show file tree
Hide file tree
Showing 5 changed files with 15 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: 4eb96fcfe07b7f2a05577e57533840f8e26bea53
refs/heads/master: d662ed26734473d4cb5f3d78cebfec8f9126e97c
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/include/asm/perf_counter.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Performance counter support - PowerPC-specific definitions.
*
* Copyright 2008-2009 Paul Mackerras, IBM Corporation.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
1 change: 1 addition & 0 deletions trunk/arch/powerpc/include/asm/systbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,4 @@ SYSCALL_SPU(epoll_create1)
SYSCALL_SPU(dup3)
SYSCALL_SPU(pipe2)
SYSCALL(inotify_init1)
SYSCALL(perf_counter_open)
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,11 @@
#define __NR_dup3 316
#define __NR_pipe2 317
#define __NR_inotify_init1 318
#define __NR_perf_counter_open 319

#ifdef __KERNEL__

#define __NR_syscalls 319
#define __NR_syscalls 320

#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/powerpc/platforms/Kconfig.cputype
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config PPC64
bool "64-bit kernel"
default n
select HAVE_PERF_COUNTERS
help
This option selects whether a 32-bit or a 64-bit kernel
will be built.
Expand Down

0 comments on commit df8cc6f

Please sign in to comment.