Build break in v2.6.33-rt6
PATCH 1/1 Build break in v2.6.33-rt6
The following fixes a build break in v2.6.33-rt6 due to the merging ofgit://dev.lemote.com/rt4ls into rt 1054085e15d189e05d4d6ea7e30580c4e0b36d7f
John Kacur (1):
ide: Build break in ide-iops.c
drivers/ide/ide-iops.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
PATCH 1/1 ide: Build break in ide-iops.c
I get the following build break due to 876c52cc046e00eaa2ffc5124dc187106ef57594
drivers/ide/ide-iops.c:29:26: error: asm/bootinfo.h: No such file or directory
Protect the include by #ifdef CONFIG_MIPS
--- drivers/ide/ide-iops.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/ide/ide-iops.c +3 -0
@@ -26,7 +26,10 @@#include <asm/irq.h> #include <asm/uaccess.h> #include <asm/io.h> + +#ifdef CONFIG_MIPS #include <asm/bootinfo.h> +#endif void SELECT_MASK (ide_drive_t *drive,int mask) {
Signature · 1 line
1.6.6.1
Re: [PATCH] ide: Build break in ide-iops.c
Quoted 4 lines · John Kacur
I get the following build break due to
876c52cc046e00eaa2ffc5124dc187106ef57594
drivers/ide/ide-iops.c:29:26: error:asm/bootinfo.h: No such file or directory
I think we'd better revert that commit 876c52cc046e00eaa2ffc5124dc187106ef57594 for it has introduced some arch specific parts into the common ide source code.
And that commit doesn't influence the preempt-rt support, so, Thomas, could you please revert it directly, thanks!
Regards,
Wu Zhangjin
Quoted 22 lines
Protect the include by #ifdef
CONFIG_MIPSSigned-off-by John Kacur <[email protected]>--- drivers/ide/ide-iops.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)drivers/ide/ide-iops.c +3
-0@@ -26,7 +26,10 @@#include <asm/irq.h> #include <asm/uaccess.h> #include <asm/io.h> + +#ifdef CONFIG_MIPS #include <asm/bootinfo.h> +#endif void SELECT_MASK (ide_drive_t *drive,int mask) {
Re: [PATCH] ide: Build break in ide-iops.c
Quoted 6 lines · Wu Zhangjin
Quoted 4 lines · John Kacur
I get the following build break due to
876c52cc046e00eaa2ffc5124dc187106ef57594
drivers/ide/ide-iops.c:29:26: error:asm/bootinfo.h: No such file or directory
Quoted 6 lines
I think we'd better revert that commit
876c52cc046e00eaa2ffc5124dc187106ef57594for it has introduced some arch specific parts into the common ide source code.And that commit doesn't influence the preempt-rt support, so, Thomas, could you please revert it directly, thanks!
Right, that just popped up in testing. I pushed -rt7 with the revert
Thanks,
tglx