Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

Lee Revell
2005-07-31T04:47:29Z

On Sat, 2005-07-30 at 22:52 +0200, Ingo Molnar wrote:
> * Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
>
> > Hi Ingo,
> >
> > -02 needs the attached patch to compile with my config.
>
> thanks, i've released -03 with your fixes.
>

Does not compile with highmem enabled:

CC arch/i386/mm/highmem.o
arch/i386/mm/highmem.c:102: error: syntax error before '(' token
arch/i386/mm/highmem.c:107: error: syntax error before numeric constant
arch/i386/mm/highmem.c:107: warning: type defaults to 'int' in declaration of 'add_preempt_count'
arch/i386/mm/highmem.c:107: warning: function declaration isn't a prototype
arch/i386/mm/highmem.c:107: error: conflicting types for 'add_preempt_count'
include/linux/preempt.h:14: error: previous declaration of 'add_preempt_count' was here
arch/i386/mm/highmem.c:107: warning: data definition has no type or storage class
arch/i386/mm/highmem.c:109: warning: type defaults to 'int' in declaration of 'idx'
arch/i386/mm/highmem.c:109: error: 'type' undeclared here (not in a function)
arch/i386/mm/highmem.c:109: warning: data definition has no type or storage class
arch/i386/mm/highmem.c:110: warning: type defaults to 'int' in declaration of 'vaddr'
arch/i386/mm/highmem.c:110: error: conflicting types for 'vaddr'
arch/i386/mm/highmem.c:105: error: previous declaration of 'vaddr' was here
arch/i386/mm/highmem.c:110: error: initializer element is not constant
arch/i386/mm/highmem.c:110: warning: data definition has no type or storage class
arch/i386/mm/highmem.c:111: error: syntax error before '-' token
arch/i386/mm/highmem.c:132: error: 'kmap_atomic' undeclared here (not in a function)
arch/i386/mm/highmem.c:133: error: 'kunmap_atomic' undeclared here (not in a function)
arch/i386/mm/highmem.c:134: error: 'kmap_atomic_to_page' undeclared here (not in a function)
make[1]: *** [arch/i386/mm/highmem.o] Error 1
make: *** [arch/i386/mm] Error 2

Lee