* [PATCH][RT] fix KM_TYPE_NR undeclared in sched.h on 32 bit x86
@ 2011-08-09 4:08 Darren Hart
2011-08-09 8:31 ` Peter Zijlstra
0 siblings, 1 reply; 2+ messages in thread
From: Darren Hart @ 2011-08-09 4:08 UTC (permalink / raw)
To: lkml; +Cc: linux-rt-users, Peter Zijlstra, Ashfield, Bruce
Patch peter_zijlstra-re-_3_0-rt4.patch causes 32 bit compilations to fail with:
sched.h:1592:17: error: ‘KM_TYPE_NR’ undeclared here (not in a function)
Including asm/kmap_types in sched.h resolves the issue.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
---
include/linux/sched.h | 1 +
1 file changed, 1 insertion(+)
Index: linux-3.0-rt/include/linux/sched.h
===================================================================
--- linux-3.0-rt.orig/include/linux/sched.h
+++ linux-3.0-rt/include/linux/sched.h
@@ -63,6 +63,7 @@ struct sched_param {
#include <linux/nodemask.h>
#include <linux/mm_types.h>
+#include <asm/kmap_types.h>
#include <asm/system.h>
#include <asm/page.h>
#include <asm/ptrace.h>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH][RT] fix KM_TYPE_NR undeclared in sched.h on 32 bit x86
2011-08-09 4:08 [PATCH][RT] fix KM_TYPE_NR undeclared in sched.h on 32 bit x86 Darren Hart
@ 2011-08-09 8:31 ` Peter Zijlstra
0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2011-08-09 8:31 UTC (permalink / raw)
To: Darren Hart; +Cc: lkml, linux-rt-users, Ashfield, Bruce
On Mon, 2011-08-08 at 21:08 -0700, Darren Hart wrote:
> Patch peter_zijlstra-re-_3_0-rt4.patch causes 32 bit compilations to fail with:
> sched.h:1592:17: error: ‘KM_TYPE_NR’ undeclared here (not in a function)
>
> Including asm/kmap_types in sched.h resolves the issue.
>
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Yep indeed, I wonder why my i386-defconfig build.. header deps magic or
so.
I've updated the patch in question, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-09 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 4:08 [PATCH][RT] fix KM_TYPE_NR undeclared in sched.h on 32 bit x86 Darren Hart
2011-08-09 8:31 ` Peter Zijlstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox