SHA256
1
0
forked from pool/systemtap
systemtap/systemtap-ioblock-suse-kernel-fix.diff
Tony Jones c888d4e1d8 Accepting request 25952 from home:jones_tony:Factory
Copy from home:jones_tony:Factory/systemtap via accept of submit request 25952 revision 3.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/25952
OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=7
2009-12-08 01:08:09 +00:00

21 lines
639 B
Diff

--- a/tapset/ioblock.stp-dist 2008-12-05 08:14:19.000000000 +0100
+++ b/tapset/ioblock.stp 2008-12-05 08:14:27.000000000 +0100
@@ -122,7 +122,7 @@
vcnt = $bio->bi_vcnt
idx = $bio->bi_idx
phys_segments = $bio->bi_phys_segments
-%(kernel_v < "2.6.28" %?
+%(kernel_v < "2.6.27" %?
hw_segments = $bio->bi_hw_segments
%)
size = $bio->bi_size
@@ -178,7 +178,7 @@
vcnt = $bio->bi_vcnt
idx = $bio->bi_idx
phys_segments = $bio->bi_phys_segments
-%(kernel_v < "2.6.28" %?
+%(kernel_v < "2.6.27" %?
hw_segments = $bio->bi_hw_segments
%)
size = $bio->bi_size