public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Dead & Dying interfaces
@ 2002-11-15 18:47 Matthew Wilcox
  2002-11-15 19:00 ` William Lee Irwin III
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Matthew Wilcox @ 2002-11-15 18:47 UTC (permalink / raw)
  To: linux-kernel


We forgot to remove a lot of crap interfaces during 2.5 development.
Let's start a list now so we don't forget during 2.7.

This list is a combination of interfaces which have gone during 2.5 and
interfaces that should go during 2.7.  Think of it as a `updating your
driver/filesystem to sane code' guide.

sleep_on, sleep_on_timeout, interruptible_sleep_on,
	interruptible_sleep_on_timeout
 -> use wait_event interfaces

flush_page_to_ram
 -> Documentation/cachetlb.txt

cli, sti, save_flags
 -> Documentation/cli-sti-removal.txt

pcibios_*
 -> Documentation/pci.txt

virt_to_bus, bus_to_virt
 -> Documentation/DMA-mapping.txt

check_region
 -> Just use request_region and handle the failure

kmap
 -> Use kmap_atomic instead

task queues
 -> work queues

lock_kernel
 -> spinlocks

smp_processor_id
 -> get_cpu

-- 
Revolutions do not require corporate support.

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

end of thread, other threads:[~2002-12-05  4:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 18:47 Dead & Dying interfaces Matthew Wilcox
2002-11-15 19:00 ` William Lee Irwin III
2002-11-16  2:49 ` Alan Cox
2002-11-17  0:41 ` Greg KH
2002-11-17  1:43   ` Alan Cox
2002-11-18 17:55 ` Dave Jones
2002-11-19 19:01   ` Adrian Bunk
2002-12-05  4:25 ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox