Commit 0b9fbc67 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] disable 64-bit sector_t on ppc32

From Peter Chubb

OK, make it X86 only.  64-bit architectures now get it for free;
if/when PPC32 (the only other 32-bit architecture I can seriously imagine
needing it, except possibly s390) fixes do_div() and needs large block
support, then enable it back there again.

There isn't as far as I know a flag I can test in a config.in file
that distinguishes 64 from 32-bit architectures.  The intention was to
enable the choice of CONFIG_LBD where it made sense;  it doesn't make
sense for 64-bit architectures; and rather than enumerate all the
32-bit architectures, I just chose two that I knew were used in
servers currently.
parent 8fd0e597
...@@ -48,7 +48,7 @@ if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then ...@@ -48,7 +48,7 @@ if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
fi fi
dep_bool ' Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD $CONFIG_BLK_DEV_RAM dep_bool ' Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD $CONFIG_BLK_DEV_RAM
if [ "$CONFIG_X86" = "y" -o "$CONFIG_PPC32" = "y" ]; then if [ "$CONFIG_X86" = "y" ]; then
bool 'Support for Large Block Devices' CONFIG_LBD bool 'Support for Large Block Devices' CONFIG_LBD
fi fi
endmenu endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment