linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Allow LBD on architectures that support it
@ 2003-07-12  2:24 Milton Miller
  2003-07-12  2:31 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Milton Miller @ 2003-07-12  2:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton

While researching the as-iosched division last night (sorry, I slept
and went to work before sending out the patch), I noticed CONFIG_LBD
wasn't in my config file.  The following architectures appear to have
the necessary asm/types.h changes:

include/asm-i386/types.h:typedef u64 sector_t;
include/asm-mips/types.h:typedef u64 sector_t;
include/asm-ppc/types.h:typedef u64 sector_t;
include/asm-s390/types.h:typedef u64 sector_t;
include/asm-sh/types.h:typedef u64 sector_t;
include/asm-x86_64/types.h:typedef u64 sector_t;


Choosing the 32 bit versions of those I selected

X86 MIPS32 PPC32 ARCH_S390_31 SUPERH

(Yes, X86_64 wouldn't need it except for defining X86.  PARISC and SPARC
might want it, not sure about m68k and the other 32 bit architectures.
For that matter, I wonder what SuperH platform will use it.  This patch
just shows what has been merged).


===== drivers/block/Kconfig 1.5 vs edited =====
--- 1.5/drivers/block/Kconfig	Sun Apr 20 18:21:17 2003
+++ edited/drivers/block/Kconfig	Fri Jul 11 02:17:02 2003
@@ -340,7 +340,7 @@
 
 config LBD
 	bool "Support for Large Block Devices"
-	depends on X86
+	depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH
 	help
 	  Say Y here if you want to attach large (bigger than 2TB) discs to
 	  your machine, or if you want to have a raid or loopback device

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Allow LBD on architectures that support it
  2003-07-12  2:24 [PATCH] Allow LBD on architectures that support it Milton Miller
@ 2003-07-12  2:31 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2003-07-12  2:31 UTC (permalink / raw)
  To: Milton Miller; +Cc: linux-kernel

Milton Miller <miltonm@bga.com> wrote:
>
>  config LBD
>   	bool "Support for Large Block Devices"
>  -	depends on X86
>  +	depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH

yup, the idea was that architecture maintainers could come in and turn this
on once they had verified that it actually works OK.

However I don't have a problem with just doing the above and then listening
for distant bangs.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-12  2:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-12  2:24 [PATCH] Allow LBD on architectures that support it Milton Miller
2003-07-12  2:31 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).