lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1275289144-28782-1-git-send-email-fujita.tomonori@lab.ntt.co.jp>
Date:	Mon, 31 May 2010 15:59:01 +0900
From:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To:	akpm@...ux-foundation.org
Cc:	jens.axboe@...cle.com, James.Bottomley@...e.de,
	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: [PATCH -mm 0/3] remove useless ISA_DMA_THRESHOLD

This patchset removes useless ISA_DMA_THRESHOLD:

- ISA_DMA_THRESHOLD is irrelevant to the majority of architectures but
  they have to define it.

- ISA_DMA_THRESHOLD definition is inconsistent on architectures; ISA
  DMA addressing restriction, DMA addressing restriction or something
  else.

- Everyone (except for SCSI) uses dma_mask instead of ancient
  ISA_DMA_THRESHOLD.

Only SCSI uses ISA_DMA_THRESHOLD for ancient drivers with non-zero
unchecked_isa_dma. We can safely remove ISA_DMA_THRESHOLD usage in
SCSI. So we can clean up ISA_DMA_THRESHOLD on the whole tree.

=
 arch/alpha/include/asm/scatterlist.h      |    2 --
 arch/avr32/include/asm/scatterlist.h      |    2 --
 arch/blackfin/include/asm/scatterlist.h   |    2 --
 arch/cris/include/asm/scatterlist.h       |    2 --
 arch/frv/include/asm/scatterlist.h        |    2 --
 arch/h8300/include/asm/scatterlist.h      |    2 --
 arch/ia64/include/asm/scatterlist.h       |    9 ---------
 arch/m32r/include/asm/scatterlist.h       |    2 --
 arch/m68k/include/asm/scatterlist.h       |    3 ---
 arch/microblaze/include/asm/scatterlist.h |    2 --
 arch/mips/include/asm/scatterlist.h       |    2 --
 arch/mn10300/include/asm/scatterlist.h    |    2 --
 arch/parisc/include/asm/scatterlist.h     |    1 -
 arch/powerpc/include/asm/scatterlist.h    |    3 ---
 arch/s390/include/asm/scatterlist.h       |    2 --
 arch/score/include/asm/scatterlist.h      |    2 --
 arch/sh/include/asm/scatterlist.h         |    2 --
 arch/sparc/include/asm/scatterlist.h      |    1 -
 arch/x86/include/asm/scatterlist.h        |    1 -
 arch/xtensa/include/asm/scatterlist.h     |    2 --
 drivers/scsi/aha1542.c                    |    9 ---------
 include/linux/blkdev.h                    |    2 +-
 22 files changed, 1 insertions(+), 56 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ