Commit 1ffa6844 authored by Richard Russon's avatar Richard Russon

Merge flatcap.org:/home/flatcap/backup/bk/linux-2.6

into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6
parents bfef1166 beb0e5c2
...@@ -478,7 +478,7 @@ static long copy_siginfo_to_user32(compat_siginfo_t __user *d, siginfo_t *s) ...@@ -478,7 +478,7 @@ static long copy_siginfo_to_user32(compat_siginfo_t __user *d, siginfo_t *s)
case __SI_TIMER >> 16: case __SI_TIMER >> 16:
err |= __put_user(s->si_tid, &d->si_tid); err |= __put_user(s->si_tid, &d->si_tid);
err |= __put_user(s->si_overrun, &d->si_overrun); err |= __put_user(s->si_overrun, &d->si_overrun);
err |= __put_user((u32)(u64)s->si_ptr, &d->si_ptr); err |= __put_user(s->si_int, &d->si_int);
break; break;
case __SI_RT >> 16: /* This is not generated by the kernel as of now. */ case __SI_RT >> 16: /* This is not generated by the kernel as of now. */
case __SI_MESGQ >> 16: case __SI_MESGQ >> 16:
......
...@@ -125,6 +125,7 @@ bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, ...@@ -125,6 +125,7 @@ bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc,
struct scatterlist *ysg; struct scatterlist *ysg;
struct scatterlist *usg; struct scatterlist *usg;
struct scatterlist *vsg; struct scatterlist *vsg;
int topfield = (0 == yoffset);
int rc; int rc;
/* estimate risc mem: worst case is one write per page border + /* estimate risc mem: worst case is one write per page border +
...@@ -153,13 +154,13 @@ bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, ...@@ -153,13 +154,13 @@ bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc,
chroma = 1; chroma = 1;
break; break;
case 1: case 1:
if (!yoffset) if (topfield)
chroma = (line & 1) == 0; chroma = (line & 1) == 0;
else else
chroma = (line & 1) == 1; chroma = (line & 1) == 1;
break; break;
case 2: case 2:
if (!yoffset) if (topfield)
chroma = (line & 3) == 0; chroma = (line & 3) == 0;
else else
chroma = (line & 3) == 2; chroma = (line & 3) == 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment