public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] synclink remove PAGE_SIZE reference
@ 2006-10-10 17:57 Paul Fulghum
  0 siblings, 0 replies; only message in thread
From: Paul Fulghum @ 2006-10-10 17:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel Mailing List

Remove reference to PAGE_SIZE that causes
errors if PAGE_SIZE != 4096

Signed-off-by: Paul Fulghum <paulkf@microgate.com>

--- linux-2.6.18/drivers/char/synclink.c	2006-09-19 22:42:06.000000000 -0500
+++ b/drivers/char/synclink.c	2006-10-10 12:50:28.000000000 -0500
@@ -135,8 +135,8 @@ static MGSL_PARAMS default_params = {
 };
 
 #define SHARED_MEM_ADDRESS_SIZE 0x40000
-#define BUFFERLISTSIZE (PAGE_SIZE)
-#define DMABUFFERSIZE (PAGE_SIZE)
+#define BUFFERLISTSIZE 4096
+#define DMABUFFERSIZE 4096
 #define MAXRXFRAMES 7
 
 typedef struct _DMABUFFERENTRY



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-10 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10 17:57 [PATCH] synclink remove PAGE_SIZE reference Paul Fulghum

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