Skip to content

Commit

Permalink
[PATCH] synclink: remove PAGE_SIZE reference
Browse files Browse the repository at this point in the history
Remove reference to PAGE_SIZE that causes errors if PAGE_SIZE != 4096

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Paul Fulghum authored and Linus Torvalds committed Oct 17, 2006
1 parent 59f1480 commit 623a439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/synclink.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,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
Expand Down

0 comments on commit 623a439

Please sign in to comment.