video: omap24xxcam: Fix compilation
PATCH RESEND 1/1 video: omap24xxcam: Fix compilation
Add linux/sched.h because of missing declaration of TASK_NORMAL.
This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete':drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function) drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only once drivers/media/video/omap24xxcam.c:415: error: for each function it appears in.)
--- drivers/media/video/omap24xxcam.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/media/video/omap24xxcam.c +1 -0
@@ -36,6 +36,7 @@#include <linux/clk.h> #include <linux/io.h> #include <linux/slab.h> +#include <linux/sched.h> #include <media/v4l2-common.h> #include <media/v4l2-ioctl.h>
Signature · 1 line
1.7.4.rc3
Quoted 13 lines · On Mon, 7 Feb 2011 09:49:07 +0100 Thomas Weber wrote:
Add
linux/sched.hbecause of missing declaration ofTASK_NORMAL.This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete':drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function)drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only oncedrivers/media/video/omap24xxcam.c:415: error: for each function it appears in.)
Quoted 4 lines
Signed-off-by Thomas Weber <[email protected]>--- drivers/media/video/omap24xxcam.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Hi,
Please use media: or multimedia: or media/video: in the subject line, not just video:. video: traditionally is used for drivers/video/, not drivers/media/video.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 13 lines · Thomas Weber
Add
linux/sched.hbecause of missing declaration ofTASK_NORMAL.This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete':drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function)drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only oncedrivers/media/video/omap24xxcam.c:415: error: for each function it appears in.)
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>
Thanks, Thomas!
Quoted 16 lines
--- drivers/media/video/omap24xxcam.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/media/video/omap24xxcam.c +1
-0@@ -36,6 +36,7 @@#include <linux/clk.h> #include <linux/io.h> #include <linux/slab.h> +#include <linux/sched.h> #include <media/v4l2-common.h> #include <media/v4l2-ioctl.h>
Signature · 2 lines
Sakari Ailus [email protected]
Quoted 14 lines · Sakari Ailus
Quoted 13 lines · Thomas Weber
Add
linux/sched.hbecause of missing declaration ofTASK_NORMAL.This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete':drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function)drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only oncedrivers/media/video/omap24xxcam.c:415: error: for each function it appears in.)
Quoted 3 lines
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>Thanks, Thomas!
Are we using the same tree ? I don't see anything related to TASK_* on that function on today's mainline, here's a copy of the function:
387 static void omap24xxcam_vbq_complete(struct omap24xxcam_sgdma *sgdma,
388 u32 csr, void *arg)
389 {
390 struct omap24xxcam_device *cam =
391 container_of(sgdma, struct omap24xxcam_device, sgdma);
392 struct omap24xxcam_fh *fh = cam->streaming->private_data;
393 struct videobuf_buffer *vb = (struct videobuf_buffer *)arg;
394 const u32 csr_error = CAMDMA_CSR_MISALIGNED_ERR
395 | CAMDMA_CSR_SUPERVISOR_ERR | CAMDMA_CSR_SECURE_ERR
396 | CAMDMA_CSR_TRANS_ERR | CAMDMA_CSR_DROP;
397 unsigned long flags;
398
399 spin_lock_irqsave(&cam->core_enable_disable_lock, flags);
400 if (--cam->sgdma_in_queue == 0)
401 omap24xxcam_core_disable(cam);
402 spin_unlock_irqrestore(&cam->core_enable_disable_lock, flags);
403
404 do_gettimeofday(&vb->ts);
405 vb->field_count = atomic_add_return(2, &fh->field_count);
406 if (csr & csr_error) { 407 vb->state = VIDEOBUF_ERROR;
408 if (!atomic_read(&fh->cam->in_reset)) {
409 dev_dbg(cam->dev, "resetting camera, csr 0x%x\n", csr);
410 omap24xxcam_reset(cam);
411 }
412 } else
413 vb->state = VIDEOBUF_DONE;
414 wake_up(&vb->done);
415 }
see that line 415 is where the function ends. My head is 795abaf1e4e188c4171e3cd3dbb11a9fcacaf505
Signature · 1 line
balbi
Hi Felipe,
Quoted 15 lines · Felipe Balbi
Quoted 14 lines · Sakari Ailus
Quoted 13 lines · Thomas Weber
Add
linux/sched.hbecause of missing declaration ofTASK_NORMAL.This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete':drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function)drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only oncedrivers/media/video/omap24xxcam.c:415: error: for each function it appears in.)
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>Thanks, Thomas!
Are we using the same tree ? I don't see anything related to TASK_* on
Please have a look at definition of macro wake_up. This where those TASK_* flags are used.
Quoted 32 lines
that function on today's mainline, here's a copy of the function:
387 static void omap24xxcam_vbq_complete(struct
omap24xxcam_sgdma*sgdma,
388 u32 csr, void *arg)
389 {
390 structomap24xxcam_device*cam =
391container_of(sgdma, struct omap24xxcam_device, sgdma);392 struct omap24xxcam_fh *fh = cam->streaming->private_data; 393 struct videobuf_buffer *vb = (struct videobuf_buffer *)arg; 394 const u32 csr_error = CAMDMA_CSR_MISALIGNED_ERR 395 | CAMDMA_CSR_SUPERVISOR_ERR | CAMDMA_CSR_SECURE_ERR 396 | CAMDMA_CSR_TRANS_ERR | CAMDMA_CSR_DROP; 397 unsigned long flags; 398 399 spin_lock_irqsave(&cam->core_enable_disable_lock, flags); 400 if (--cam->sgdma_in_queue == 0) 401 omap24xxcam_core_disable(cam); 402 spin_unlock_irqrestore(&cam->core_enable_disable_lock, flags); 403 404 do_gettimeofday(&vb->ts); 405 vb->field_count = atomic_add_return(2, &fh->field_count); 406 if (csr & csr_error) {407
vb->state=VIDEOBUF_ERROR;
408 if (!atomic_read(&fh->cam->in_reset)) {
409dev_dbg(cam->dev, "resetting camera, csr 0x%x\n", csr);
410omap24xxcam_reset(cam);
411 }
412 } else
413vb->state=VIDEOBUF_DONE;
414wake_up(&vb->done);
415 }
Quoted 3 lines
see that line 415 is where the function ends. My head is
795abaf1e4e188c4171e3cd3dbb11a9fcacaf505
Cheers,
Sylwester Nawrocki
hi,
Quoted 4 lines · Sylwester Nawrocki
Quoted 1 line
Are we using the same tree ? I don't see anything related to TASK_* on
Please have a look at definition of macro
wake_up. This where those TASK_* flags are used.
$ git grep -e TASK_ drivers/media/video/omap*.[ch] $
???
Signature · 1 line
balbi
Quoted 5 lines · Felipe Balbi
hi,
Quoted 2 lines · Sylwester Nawrocki
Quoted 1 line
Are we using the same tree ? I don't see anything related to TASK_* on
Quoted 8 lines
Quoted 2 lines
Please have a look at definition of macro
wake_up. This where those TASK_* flags are used.$ git grep -e TASK_ drivers/media/video/omap*.[ch] $???
It's wake_up() on line 414.
Signature · 2 lines
Sakari Ailus [email protected]
Am 15.02.2011 12:44, schrieb Sylwester Nawrocki:
Quoted 56 lines
Hi Felipe,
Quoted 15 lines · Felipe Balbi
Quoted 14 lines · Sakari Ailus
Quoted 13 lines · Thomas Weber
Add
linux/sched.hbecause of missing declaration ofTASK_NORMAL.This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete':drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function)drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only oncedrivers/media/video/omap24xxcam.c:415: error: for each function it appears in.)Quoted 3 lines
Quoted 2 lines
Quoted 1 line
Signed-off-by Thomas Weber <[email protected]>Thanks, Thomas!
Are we using the same tree ? I don't see anything related to TASK_* on
Please have a look at definition of macro
wake_up. This where those TASK_* flags are used.Quoted 32 lines
that function on today's mainline, here's a copy of the function:
387 static void omap24xxcam_vbq_complete(struct
omap24xxcam_sgdma*sgdma,
388 u32 csr, void *arg)
389 {
390 structomap24xxcam_device*cam =
391container_of(sgdma, struct omap24xxcam_device, sgdma);392 struct omap24xxcam_fh *fh = cam->streaming->private_data; 393 struct videobuf_buffer *vb = (struct videobuf_buffer *)arg; 394 const u32 csr_error = CAMDMA_CSR_MISALIGNED_ERR 395 | CAMDMA_CSR_SUPERVISOR_ERR | CAMDMA_CSR_SECURE_ERR 396 | CAMDMA_CSR_TRANS_ERR | CAMDMA_CSR_DROP; 397 unsigned long flags; 398 399 spin_lock_irqsave(&cam->core_enable_disable_lock, flags); 400 if (--cam->sgdma_in_queue == 0) 401 omap24xxcam_core_disable(cam); 402 spin_unlock_irqrestore(&cam->core_enable_disable_lock, flags); 403 404 do_gettimeofday(&vb->ts); 405 vb->field_count = atomic_add_return(2, &fh->field_count); 406 if (csr & csr_error) {407
vb->state=VIDEOBUF_ERROR;
408 if (!atomic_read(&fh->cam->in_reset)) {
409dev_dbg(cam->dev, "resetting camera, csr 0x%x\n", csr);
410omap24xxcam_reset(cam);
411 }
412 } else
413vb->state=VIDEOBUF_DONE;
414wake_up(&vb->done);
415 }
Quoted 6 lines
Quoted 3 lines
see that line 415 is where the function ends. My head is
795abaf1e4e188c4171e3cd3dbb11a9fcacaf505Cheers,
Sylwester Nawrocki
--
Hello Felipe,
in include/linux/wait.h
#define wake_up(x) __wake_up(x, TASK_NORMAL, 1, NULL)
Regards,
Thomas
Hi,
Quoted 5 lines · Thomas Weber
Hello Felipe,
in
include/linux/wait.h#define
wake_up(x)__wake_up(x, TASK_NORMAL, 1, NULL)
aha, now I get it, so shouldn't the real fix be including <linux/sched.h> on <linux/wait.h>, I mean, it's <linuux/wait.h> who uses a symbol defined in <linux/sched.h>, right ?
Signature · 1 line
balbi
Quoted 5 lines · Felipe Balbi
Hi,
Quoted 2 lines · Thomas Weber
Hello Felipe,
Quoted 7 lines
Quoted 3 lines
in
include/linux/wait.h#define
wake_up(x)__wake_up(x, TASK_NORMAL, 1, NULL)aha, now I get it, so shouldn't the real fix be including <
linux/sched.h> on <linux/wait.h>, I mean, it's <linuux/wait.h> who uses a symbol defined in <linux/sched.h>, right ?
Surprisingly many other files still don't seem to be affected. But this is actually a better solution (to include sched.h in wait.h).
Signature · 2 lines
Sakari Ailus [email protected]
Hi Sakari and Felipe,
Quoted 6 lines · Sakari Ailus
Quoted 5 lines · Felipe Balbi
Hi,
Quoted 2 lines · Thomas Weber
Hello Felipe,
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
in
include/linux/wait.h#define
wake_up(x)__wake_up(x,TASK_NORMAL, 1, NULL)aha, now I get it, so shouldn't the real fix be including <
linux/sched.h> on <linux/wait.h>, I mean, it's <linuux/wait.h> who uses a symbol defined in <linux/sched.h>, right ?
That's a tricky situation. linux/sched.h includes indirectly linux/completion.h which includes linux/wait.h.
By including sched.h in wait.h, the side effect is completion.h will then include a blank wait.h file and trigger a compilation error every time wait.h is included by any file.
Quoted 3 lines
Surprisingly many other files still don't seem to be affected. But this is actually a better solution (to include
sched.hinwait.h).
It does not affect all files include wait.h because TASK_* macros are used with #define statements only. So it has no effect unless some file tries to use a macro which used TASK_*. It seems the usual on kernel is to include both wait.h and sched.h when necessary. IMO your patch is fine.
Br,
David
Quoted 10 lines
--
Sakari Ailus
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hi,
Quoted 6 lines · David Cohen
Quoted 3 lines
Quoted 3 lines
aha, now I get it, so shouldn't the real fix be including <
linux/sched.h> on <linux/wait.h>, I mean, it's <linuux/wait.h> who uses a symbol defined in <linux/sched.h>, right ?That's a tricky situation.
linux/sched.hincludes indirectlylinux/completion.hwhich includeslinux/wait.h.
Ok, so the real problem is that there is circular dependency between <linux/sched.h> and <linux/wait.h>
Quoted 3 lines
By including
sched.hinwait.h, the side effect iscompletion.hwill then include a blankwait.hfile and trigger a compilation error every timewait.his included by any file.
true, but the real problem is the circular dependency between those files.
Quoted 8 lines
Quoted 2 lines
Surprisingly many other files still don't seem to be affected. But this is actually a better solution (to include
sched.hinwait.h).It does not affect all files include
wait.hbecause TASK_* macros are used with #define statements only. So it has no effect unless some file tries to use a macro which used TASK_*. It seems the usual on kernel is to include bothwait.handsched.hwhen necessary. IMO your patch is fine.
I have to disagree. The fundamental problem is the circular dependency between those two files:
sched.h uses wait_queue_head_t defined in wait.hwait.h uses TASK_* defined in sched.h
So, IMO the real fix would be clear out the circular dependency. Maybe introducing <linux/task.h> to define those TASK_* symbols and include that on sched.h and wait.h
Just dig a quick and dirty to try it out and works like a charm
Signature · 1 line
balbi
Quoted 32 lines · Felipe Balbi
Hi,
Quoted 6 lines · David Cohen
Quoted 3 lines
Quoted 3 lines
aha, now I get it, so shouldn't the real fix be including <
linux/sched.h> on <linux/wait.h>, I mean, it's <linuux/wait.h> who uses a symbol defined in <linux/sched.h>, right ?That's a tricky situation.
linux/sched.hincludes indirectlylinux/completion.hwhich includeslinux/wait.h.Ok, so the real problem is that there is circular dependency between <
linux/sched.h> and <linux/wait.h>Quoted 3 lines
By including
sched.hinwait.h, the side effect iscompletion.hwill then include a blankwait.hfile and trigger a compilation error every timewait.his included by any file.true, but the real problem is the circular dependency between those files.
Quoted 8 lines
Quoted 2 lines
Surprisingly many other files still don't seem to be affected. But this is actually a better solution (to include
sched.hinwait.h).It does not affect all files include
wait.hbecause TASK_* macros are used with #define statements only. So it has no effect unless some file tries to use a macro which used TASK_*. It seems the usual on kernel is to include bothwait.handsched.hwhen necessary. IMO your patch is fine.I have to disagree. The fundamental problem is the circular dependency between those two files:
Quoted 8 lines
sched.huseswait_queue_head_tdefined inwait.hwait.huses TASK_* defined insched.hSo, IMO the real fix would be clear out the circular dependency. Maybe introducing <
linux/task.h> to define those TASK_* symbols and include that onsched.handwait.hJust dig a quick and dirty to try it out and works like a charm
We have 2 problems:
- omap24xxcam compilation broken
- circular dependency between sched.h and wait.h
To fix the broken compilation we can do what the rest of the kernel is doing, which is to include sched.h.
Then, the circular dependency is fixed by some different approach which would probably change *all* current usage of TASK_*.
IMO, there's no need to create a dependency between those issues.
Br,
David
Quoted 4 lines
--
balbi
Hi,
Quoted 12 lines · David Cohen
Quoted 11 lines
I have to disagree. The fundamental problem is the circular dependency between those two files:
sched.huseswait_queue_head_tdefined inwait.hwait.huses TASK_* defined insched.hSo, IMO the real fix would be clear out the circular dependency. Maybe introducing <
linux/task.h> to define those TASK_* symbols and include that onsched.handwait.hJust dig a quick and dirty to try it out and works like a charm
Quoted 8 lines
We have 2 problems:
- omap24xxcam compilation broken
- circular dependency betweensched.handwait.hTo fix the broken compilation we can do what the rest of the kernel is doing, which is to include
sched.h.
Then, the circular dependency is fixed by some different approach which would probably change *all* current usage of TASK_*.
considering that 1 is caused by 2 I would fix 2.
Quoted 1 line
IMO, there's no need to create a dependency between those issues.
There's no dependency between them, it's just that the root cause for this problem is a circular dependency between wait.h and sched.h
Signature · 1 line
balbi
Quoted 24 lines · Felipe Balbi
Hi,
Quoted 12 lines · David Cohen
Quoted 11 lines
I have to disagree. The fundamental problem is the circular dependency between those two files:
sched.huseswait_queue_head_tdefined inwait.hwait.huses TASK_* defined insched.hSo, IMO the real fix would be clear out the circular dependency. Maybe introducing <
linux/task.h> to define those TASK_* symbols and include that onsched.handwait.hJust dig a quick and dirty to try it out and works like a charm
Quoted 8 lines
We have 2 problems:
- omap24xxcam compilation broken
- circular dependency betweensched.handwait.hTo fix the broken compilation we can do what the rest of the kernel is doing, which is to include
sched.h.
Then, the circular dependency is fixed by some different approach which would probably change *all* current usage of TASK_*.
Quoted 6 lines
considering that 1 is caused by 2 I would fix 2.
Quoted 1 line
IMO, there's no need to create a dependency between those issues.
There's no dependency between them, it's just that the root cause for this problem is a circular dependency between
wait.handsched.h
I did a try to fix this circular dependency and the comment I got was to include sched.h in omap24xxcam.c file:
http://marc.info/?l=linux-omap&m=129828637120270&w=2
I'm working to remove v4l2 internal device interface from omap24xxcam and then I need this driver's compilation fixed.
The whole kernel is including sched.h when wake_up*() macro is used, so this should be our first solution IMO.
As I said earlier, no need to make this compilation fix be dependent of wait.h fix (if it's really going to be changed).
I think we should proceed with this patch.
Br,
David
Quoted 4 lines
--
balbi
Quoted 36 lines · David Cohen
Quoted 24 lines · Felipe Balbi
Hi,
Quoted 12 lines · David Cohen
Quoted 11 lines
I have to disagree. The fundamental problem is the circular dependency between those two files:
sched.huseswait_queue_head_tdefined inwait.hwait.huses TASK_* defined insched.hSo, IMO the real fix would be clear out the circular dependency. Maybe introducing <
linux/task.h> to define those TASK_* symbols and include that onsched.handwait.hJust dig a quick and dirty to try it out and works like a charm
Quoted 8 lines
We have 2 problems:
- omap24xxcam compilation broken
- circular dependency betweensched.handwait.hTo fix the broken compilation we can do what the rest of the kernel is doing, which is to include
sched.h.
Then, the circular dependency is fixed by some different approach which would probably change *all* current usage of TASK_*.Quoted 6 lines
considering that 1 is caused by 2 I would fix 2.
Quoted 1 line
IMO, there's no need to create a dependency between those issues.
There's no dependency between them, it's just that the root cause for this problem is a circular dependency between
wait.handsched.hI did a try to fix this circular dependency and the comment I got was to include
sched.hinomap24xxcam.cfile:
http://marc.info/?l=linux-omap&m=129828637120270&w=2
Quoted 8 lines
I'm working to remove v4l2 internal device interface from omap24xxcam and then I need this driver's compilation fixed.
The whole kernel is includingsched.hwhen wake_up*() macro is used, so this should be our first solution IMO.
As I said earlier, no need to make this compilation fix be dependent ofwait.hfix (if it's really going to be changed).I think we should proceed with this patch.
I would wait to hear from Ingo or Peter who are the maintainers for that part, but fine by me.
Signature · 1 line
balbi
Quoted 44 lines · Felipe Balbi
Quoted 43 lines · David Cohen
Quoted 24 lines · Felipe Balbi
Hi,
Quoted 12 lines · David Cohen
Quoted 11 lines
I have to disagree. The fundamental problem is the circular dependency between those two files:
sched.huseswait_queue_head_tdefined inwait.hwait.huses TASK_* defined insched.hSo, IMO the real fix would be clear out the circular dependency. Maybe introducing <
linux/task.h> to define those TASK_* symbols and include that onsched.handwait.hJust dig a quick and dirty to try it out and works like a charm
Quoted 8 lines
We have 2 problems:
- omap24xxcam compilation broken
- circular dependency betweensched.handwait.hTo fix the broken compilation we can do what the rest of the kernel is doing, which is to include
sched.h.
Then, the circular dependency is fixed by some different approach which would probably change *all* current usage of TASK_*.Quoted 6 lines
considering that 1 is caused by 2 I would fix 2.
Quoted 1 line
IMO, there's no need to create a dependency between those issues.
There's no dependency between them, it's just that the root cause for this problem is a circular dependency between
wait.handsched.hI did a try to fix this circular dependency and the comment I got was to include
sched.hinomap24xxcam.cfile:
http://marc.info/?l=linux-omap&m=129828637120270&w=2I'm working to remove v4l2 internal device interface from omap24xxcam and then I need this driver's compilation fixed.
The whole kernel is includingsched.hwhen wake_up*() macro is used, so this should be our first solution IMO.
As I said earlier, no need to make this compilation fix be dependent ofwait.hfix (if it's really going to be changed).
Quoted 4 lines
Quoted 1 line
I think we should proceed with this patch.
I would wait to hear from Ingo or Peter who are the maintainers for that part, but fine by me.
How about to proceed with this patch?
Regards,
David
Quoted 4 lines
--
balbi
Hallo David,
Am 25.02.2011 00:36, schrieb David Cohen:
Quoted 41 lines · Felipe Balbi
Quoted 40 lines · David Cohen
Quoted 39 lines · Felipe Balbi
Quoted 22 lines
Hi,
Quoted 11 lines · David Cohen
Quoted 11 lines
I have to disagree. The fundamental problem is the circular dependency between those two files:
sched.huseswait_queue_head_tdefined inwait.hwait.huses TASK_* defined insched.hSo, IMO the real fix would be clear out the circular dependency. Maybe introducing <
linux/task.h> to define those TASK_* symbols and include that onsched.handwait.hJust dig a quick and dirty to try it out and works like a charm
Quoted 8 lines
We have 2 problems:
- omap24xxcam compilation broken
- circular dependency betweensched.handwait.hTo fix the broken compilation we can do what the rest of the kernel is doing, which is to include
sched.h.
Then, the circular dependency is fixed by some different approach which would probably change *all* current usage of TASK_*.Quoted 5 lines
considering that 1 is caused by 2 I would fix 2.
Quoted 1 line
IMO, there's no need to create a dependency between those issues.
There's no dependency between them, it's just that the root cause for this problem is a circular dependency between
wait.handsched.hI did a try to fix this circular dependency and the comment I got was to include
sched.hinomap24xxcam.cfile:
http://marc.info/?l=linux-omap&m=129828637120270&w=2I'm working to remove v4l2 internal device interface from omap24xxcam and then I need this driver's compilation fixed.
The whole kernel is includingsched.hwhen wake_up*() macro is used, so this should be our first solution IMO.
As I said earlier, no need to make this compilation fix be dependent ofwait.hfix (if it's really going to be changed).
Quoted 9 lines
Quoted 3 lines
Quoted 1 line
I think we should proceed with this patch.
I would wait to hear from Ingo or Peter who are the maintainers for that part, but fine by me.
How about to proceed with this patch?
Regards,
David
I got a message that the patch is queued at
http://git.linuxtv.org/media_tree.git for_v2.6.39
Thanks Mauro.
Thomas