aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2009-01-07 15:32:11 +0100
committerRobert Richter <[email protected]>2009-01-07 22:47:40 +0100
commit465634adc1d09b490c8ee31885575be39d375d53 (patch)
treeb6c119d0112b428104dbd4edbd23925d717d7119 /scripts/patch-kernel
parent1acda878e20ea0cd3708ba66dca67d52eaafdd2b (diff)
ring_buffer: fix ring_buffer_event_length()
Function ring_buffer_event_length() provides an interface to detect the length of data stored in an entry. However, the length contains offsets depending on the internal usage. This makes it unusable. This patch fixes this and now ring_buffer_event_length() returns the alligned length that has been used in ring_buffer_lock_reserve(). Cc: Steven Rostedt <[email protected]> Signed-off-by: Robert Richter <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions