]> git.hungrycats.org Git - linux/commit
[power] pmdisk Cleanups
authorPatrick Mochel <mochel@osdl.org>
Mon, 22 Sep 2003 05:40:25 +0000 (22:40 -0700)
committerPatrick Mochel <mochel@osdl.org>
Mon, 22 Sep 2003 05:40:25 +0000 (22:40 -0700)
commit41d05237ca3ef5b5bdb81f70a90102e65c5a62a2
tree611f5a6f58739ed712a87010d2d17ea6386c78c0
parentb416e2e21e5f28c46dfd491caafa8810c9a247d6
[power] pmdisk Cleanups

- Use statically allocated header and info structures.

- Make sure they're packed and page-aligned.

- Make read_swapfiles() return an error if we don't find a valid swap device.

- Store pagedir swap entries in pmdisk_info, eliminating need for linked-list
  at the end of each pages. Greatly simplifies code paths for reading/writing.

- Remove several passed-around swap entries.

- Add full utsname struct to pmdisk_info.

- Add some better header checking and debugging information.
kernel/power/pmdisk.c