diff options
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/cacheflush.h | 2 | ||||
-rw-r--r-- | arch/parisc/include/asm/socket.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/cacheflush.h b/arch/parisc/include/asm/cacheflush.h index da601dd34c05..9f21ab0c02e3 100644 --- a/arch/parisc/include/asm/cacheflush.h +++ b/arch/parisc/include/asm/cacheflush.h | |||
@@ -140,7 +140,7 @@ static inline void *kmap(struct page *page) | |||
140 | 140 | ||
141 | #define kunmap(page) kunmap_parisc(page_address(page)) | 141 | #define kunmap(page) kunmap_parisc(page_address(page)) |
142 | 142 | ||
143 | static inline void *__kmap_atomic(struct page *page) | 143 | static inline void *kmap_atomic(struct page *page) |
144 | { | 144 | { |
145 | pagefault_disable(); | 145 | pagefault_disable(); |
146 | return page_address(page); | 146 | return page_address(page); |
diff --git a/arch/parisc/include/asm/socket.h b/arch/parisc/include/asm/socket.h index d28c51b61067..1b52c2c31a7a 100644 --- a/arch/parisc/include/asm/socket.h +++ b/arch/parisc/include/asm/socket.h | |||
@@ -63,6 +63,11 @@ | |||
63 | 63 | ||
64 | #define SO_WIFI_STATUS 0x4022 | 64 | #define SO_WIFI_STATUS 0x4022 |
65 | #define SCM_WIFI_STATUS SO_WIFI_STATUS | 65 | #define SCM_WIFI_STATUS SO_WIFI_STATUS |
66 | #define SO_PEEK_OFF 0x4023 | ||
67 | |||
68 | /* Instruct lower device to use last 4-bytes of skb data as FCS */ | ||
69 | #define SO_NOFCS 0x4024 | ||
70 | |||
66 | 71 | ||
67 | /* O_NONBLOCK clashes with the bits used for socket types. Therefore we | 72 | /* O_NONBLOCK clashes with the bits used for socket types. Therefore we |
68 | * have to define SOCK_NONBLOCK to a different value here. | 73 | * have to define SOCK_NONBLOCK to a different value here. |