Messages in this thread | | | Date | Thu, 7 Aug 2003 17:05:18 -0700 | From | Andrew Morton <> | Subject | Re: 2.6.0-test2-mm5 working on ppc |
| |
Paul Mackerras <paulus@samba.org> wrote: > > This patch gets 2.6.0-test2-mm5 to boot on my G3 powerbook. The first > problem was that we had dev_t in struct stat, thus userland became > unhappy when dev_t changed size.
OK.
> The second problem was that sys_mknod got changed to take an unsigned > int rather than a dev_t, but we were still calling it with a dev_t > argument in init/do_mounts.h and init/initramfs.c. That might sorta > work on x86 but it doesn't on ppc. My solution to that is to export > and use do_mknod instead.
Well yes. The reason for this problem is that people keep on putting function prototypes into .c files.
I might add that the major sinners are maintainers of non-ia32 architectures.
> Of course the do_mknod prototype should > really go in a header somewhere but I was too lazy to do that.
I'll find somewhere to tuck it. Thanks for working all that out.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |