OSDN Git Service

Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it as
authorEric Andersen <andersen@codepoet.org>
Fri, 6 Feb 2004 07:07:16 +0000 (07:07 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 6 Feb 2004 07:07:16 +0000 (07:07 -0000)
commit3974b578e80c12f8175f42d4a6a55ed7691aefa7
tree26fb114f7e5209f2702ba06250b7511323fa68ae
parent9d694a44b5f4eed4ed8e192f203c1cc4abc7554d
Sigh.  The 2.6.x kernel removed '__kernel_dev_t' and renamed it as
'__kernel_old_dev_t'.  And of course there is no good way to know
which is in use except checking linux/version.h.  Grumble.

This is rather lame, but for now, define __kernel_old_dev_t to be
the same as __kernel_dev_t.  This will want to be revisited soon.
 -Erik
14 files changed:
libc/sysdeps/linux/alpha/bits/kernel_types.h
libc/sysdeps/linux/arm/bits/kernel_types.h
libc/sysdeps/linux/cris/bits/kernel_types.h
libc/sysdeps/linux/e1/bits/kernel_types.h
libc/sysdeps/linux/h8300/bits/kernel_types.h
libc/sysdeps/linux/i386/bits/kernel_types.h
libc/sysdeps/linux/m68k/bits/kernel_types.h
libc/sysdeps/linux/microblaze/bits/kernel_types.h
libc/sysdeps/linux/mips/bits/kernel_types.h
libc/sysdeps/linux/powerpc/bits/kernel_types.h
libc/sysdeps/linux/sh/bits/kernel_types.h
libc/sysdeps/linux/sh64/bits/kernel_types.h
libc/sysdeps/linux/sparc/bits/kernel_types.h
libc/sysdeps/linux/v850/bits/kernel_types.h