Re: [git pull -tip] headers_check fixes for other architectures

From: Ingo Molnar
Date: Thu Feb 05 2009 - 14:20:00 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Thu, 5 Feb 2009, Tony Luck wrote:
> >
> > Either revert this part ... or wrap the #include like this in fpu.h:
> >
> > #ifndef __ASSEMBLY__
> > #include <linux/types.h>
> > #endif
>
> That loses the
>
> arch/ia64/include/asm/types.h:# define __IA64_UL(x) (x)
>
> thing from <asm/types.h>, and makes some of the constants unusable from
> asm. Maybe nobody cares.
>
> But it looks like that core really needs to use <asm/types.h> right now.

Note that these bits are not mainline yet, they are still being refined.

Jaswinder, because they can break the build we should proactively drop all
architecture patches that do asm/types.h conversions.

I did build all the affected architectures via their defconfigs and they
built just fine - but i cannot do wide coverage testing of them.

So i think we should drop these bits:

earth4:~/tip> gll --grep='asm/types.h' linus..core/header-fixes
1ff8f73: headers_check fix: xtensa, swab.h
4810987: headers_check fix: powerpc, swab.h
9f2cd96: headers_check fix: powerpc, kvm.h
785857f: headers_check fix: powerpc, elf.h
4be2c7f: headers_check fix: powerpc, bootx.h
726da1e: headers_check fix: parisc, swab.h
bef53ca: headers_check fix: mn10300, swab.h
a9f6acc: headers_check fix: mips, swab.h
d8cbec1: headers_check fix: m32r, swab.h
040c92b: headers_check fix: ia64, swab.h
6ce7950: headers_check fix: ia64, kvm.h
fa9ea6c: headers_check fix: ia64, fpu.h
295803e: headers_check fix: h8300, swab.h
dacd762: headers_check fix: frv, swab.h
350eb8b: headers_check fix: blackfin, swab.h
1c6ce70: headers_check fix: avr32, swab.h
e42ec24: headers_check fix: arm, swab.h
4af3bf6: headers_check fix: arm, setup.h
f100e6d: headers_check fix: arm, a.out.h
3fd5906: headers_check fix: alpha, swab.h

and send the rest to Linus if all outstanding observations have been
addressed. What do you think?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/