PATCH: make linux/swap.h include asm/page.h

Mirian Crzig Lennox (mirian@xensei.com)
09 Dec 1998 02:46:51 -0500


Here's a quick little patch to make <linux/swap.h> include
<asm/page.h>. This is so PAGE_SIZE will be defined properly.

------------------------------snip------------------------------
diff -Nur linux/include/linux/swap.h linux-/include/linux/swap.h
--- linux/include/linux/swap.h Wed Dec 9 02:16:23 1998
+++ linux-/include/linux/swap.h Wed Dec 9 02:16:40 1998
@@ -7,6 +7,8 @@

#define MAX_SWAPFILES 8

+#include <asm/page.h>
+
union swap_header {
struct
{
------------------------------snip------------------------------

Enjoy.

-- 
Mirian Crzig Lennox                                Systems Anarchist
          "There's a New World Order coming every minute.
                      Make mine extra cheese."

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