Bug 2076 - ppc64 runtime is broken under kernel v2.6.15-RC5
Summary: ppc64 runtime is broken under kernel v2.6.15-RC5
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Hien Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 00:16 UTC by Hien Nguyen
Modified: 2006-03-20 16:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Fixed ppc64 runtime problem with the kernel v2.6.15-rc5 (987 bytes, patch)
2005-12-22 23:04 UTC, Hien Nguyen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hien Nguyen 2005-12-21 00:16:36 UTC
uaccess.h files for ppc and ppc64 are merged with with some changes under
v2.6.15-rc5 caused stap fails to build some scripts with the following

 error: macro "__get_user_asm" passed 5 arguments, but takes just 4
Comment 1 Hien Nguyen 2005-12-22 23:04:14 UTC
Created attachment 810 [details]
Fixed ppc64 runtime  problem with the kernel v2.6.15-rc5

I made some changes in the ppc64 portion of the runtime (loc2c-runtime.h). This
patch should work with older version of the kernel as well as 2.6.15-rc5.
Comment 2 Hien Nguyen 2006-01-16 22:28:00 UTC
Testing is done. Await comment from Ananth.
Comment 3 Li Guanglei 2006-03-09 02:37:39 UTC
(In reply to comment #2)
> Testing is done. Await comment from Ananth.
How is it going on with this patch?  I checked latest CVS and found it hasn't
gone into systemtap yet. So now I have to manually apply this patch in order to
let LKET work for me on 2.6.15.*/ppc64

Comment 4 Hien Nguyen 2006-03-09 03:30:17 UTC
I planned to check in the fix, but some how it slipped. I am going to check it
in tomorrow.
Thanks.
Comment 5 Hien Nguyen 2006-03-20 16:51:33 UTC
Fixed