Commit | Line | Data |
---|---|---|
0b99d589 LL |
1 | /* |
2 | * Copyright 2004 Digi International (www.digi.com) | |
3 | * Scott H Kilau <Scott_Kilau at digi dot com> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 2, or (at your option) | |
8 | * any later version. | |
9 | * | |
10 | * This program is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the | |
12 | * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR | |
13 | * PURPOSE. See the GNU General Public License for more details. | |
14 | * | |
0b99d589 LL |
15 | ************************************************************************* |
16 | * | |
17 | * This file is intended to contain all the kernel "differences" between the | |
18 | * various kernels that we support. | |
19 | * | |
20 | *************************************************************************/ | |
21 | ||
22 | #ifndef __DGNC_KCOMPAT_H | |
23 | #define __DGNC_KCOMPAT_H | |
24 | ||
013c951d LL |
25 | #if !defined(TTY_FLIPBUF_SIZE) |
26 | # define TTY_FLIPBUF_SIZE 512 | |
0b99d589 LL |
27 | #endif |
28 | ||
29 | ||
30 | /* Sparse stuff */ | |
31 | # ifndef __user | |
32 | # define __user | |
33 | # define __kernel | |
34 | # define __safe | |
35 | # define __force | |
36 | # define __chk_user_ptr(x) (void)0 | |
37 | # endif | |
38 | ||
0b99d589 | 39 | |
0b99d589 | 40 | #endif /* ! __DGNC_KCOMPAT_H */ |