linux/arch/um
Paolo 'Blaisorblade' Giarrusso 855ec613ca [PATCH] uml: restore include breakage, breaking binary format of COW driver
Commit 44456d37b5, between 2.6.13-rc3 and -rc4,
was a "nice cleanup" which broke something. Revert the offending part.

It broke because:
a) because this part doesn't fall under the description
b) the author didn't know what he was doing here
c) the author didn't try to compile the existing code and see that it worked
   perfectly.
d) the author didn't ask us what was happening
e) you didn't either, and somebody there should have learned that UML is a bit
   different.

In fact, UML is special in linking to host libc and using its includes.

In particular, since host includes always define both __BIG_ENDIAN and
__LITTLE_ENDIAN, ntohll() macros started thinking to be in a big-endian world;
and on-disk compatibility was broken.

Many thanks go to Nix for reporting the problem and correctly diagnosing an
endianness problem.

Btw, this patch restores the previous code, which worked; but the definitions
would be uncorrect if used in kernelspace files.

Next patch addresses that.

Cc: Nix <nix@esperi.org.uk>, Olaf Hering <olh@suse.de>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-10 08:36:00 -07:00
..
drivers [PATCH] uml: restore include breakage, breaking binary format of COW driver 2005-10-10 08:36:00 -07:00
include [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
kernel [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
os-Linux [PATCH] uml: add mode=skas0 as a synonym of skas0 2005-10-10 08:36:00 -07:00
scripts [PATCH] uml: allow building .s/.i/.lst files from userspace files 2005-10-10 08:36:00 -07:00
sys-i386 [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
sys-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-ppc [PATCH] uml: stack dump fix 2005-05-28 16:46:13 -07:00
sys-x86_64 [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Kconfig [PATCH] uml: mark SMP on UML/x86_64 as broken 2005-09-05 00:06:22 -07:00
Kconfig.char [PATCH] uml: Rename Kconfig files to be like the other arches 2005-09-05 00:06:19 -07:00
Kconfig.debug [PATCH] uml: workaround GDB problems on debugging 2005-09-05 00:06:20 -07:00
Kconfig.i386 [PATCH] uml: UML/i386 cmpxchg fix 2005-09-17 11:50:01 -07:00
Kconfig.net [PATCH] uml: Rename Kconfig files to be like the other arches 2005-09-05 00:06:19 -07:00
Kconfig.scsi [PATCH] uml: Rename Kconfig files to be like the other arches 2005-09-05 00:06:19 -07:00
Kconfig.x86_64 [PATCH] uml: mark SMP on UML/x86_64 as broken 2005-09-05 00:06:22 -07:00
Makefile [PATCH] Uml: hide commands when not being verbose 2005-10-10 08:36:00 -07:00
Makefile-i386 [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Makefile-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-os-Linux Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-skas [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Makefile-tt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-x86_64 [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
config.release Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00