lkml.org 
[lkml]   [2003]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.045 / U:4.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site