summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/fpu_traps.S
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-01-26 22:14:08 +0100
committerSteven Rostedt <rostedt@goodmis.org>2010-01-26 22:14:08 +0100
commit3c05d7482777f15e71bb4cb1ba78dee2800dfec6 (patch)
treecb3d7c935ede863ca94e0beb97dc57ceb1e75e7b /arch/sparc/kernel/fpu_traps.S
parentring-buffer: Check if ring buffer iterator has stale data (diff)
downloadlinux-3c05d7482777f15e71bb4cb1ba78dee2800dfec6.tar.xz
linux-3c05d7482777f15e71bb4cb1ba78dee2800dfec6.zip
ring-buffer: Check for end of page in iterator
If the iterator comes to an empty page for some reason, or if the page is emptied by a consuming read. The iterator code currently does not check if the iterator is pass the contents, and may return a false entry. This patch adds a check to the ring buffer iterator to test if the current page has been completely read and sets the iterator to the next page if necessary. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/sparc/kernel/fpu_traps.S')
0 files changed, 0 insertions, 0 deletions