diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-05-20 12:39:57 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-05-20 12:39:57 +0200 |
commit | 78c9d72e18da2d5c930fb39460c236ea24fee423 (patch) | |
tree | 9046c3ce642807ffc8a536b589071cffe54b242c | |
parent | 1ecd17fe89c67b491ed9f61ed16410b425eca99e (diff) | |
download | systemtap-steved-78c9d72e18da2d5c930fb39460c236ea24fee423.tar.gz systemtap-steved-78c9d72e18da2d5c930fb39460c236ea24fee423.tar.xz systemtap-steved-78c9d72e18da2d5c930fb39460c236ea24fee423.zip |
PR10172 sdt.h on powerpc Error: junk at end of line: `0'
* includes/sys/sdt.h (STAP_NOP): __powerpc__ doesn't want an extra 0.
Tested-by: Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>
-rw-r--r-- | includes/sys/sdt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h index 5899549c..fd2c55fb 100644 --- a/includes/sys/sdt.h +++ b/includes/sys/sdt.h @@ -59,7 +59,7 @@ #define STAP_UNINLINE_LABEL(label) \ __extension__ static volatile long labelval __attribute__ ((unused)) = (long) &&label -#if defined(__x86_64__) || defined(__i386__) +#if defined(__x86_64__) || defined(__i386__) || defined(__powerpc__) #define STAP_NOP "\tnop " #else #define STAP_NOP "\tnop 0 " |