Commit 91c31141 authored by Linus Torvalds's avatar Linus Torvalds

Remove test for __linux__ in auth_gss.h.

It's not necessarily even true when cross-compiling the
kernel, and the right thing to do is check for __KERNEL__
(which we already do, one line up).
parent 953c48f8
...@@ -15,11 +15,9 @@ ...@@ -15,11 +15,9 @@
#define _LINUX_SUNRPC_AUTH_GSS_H #define _LINUX_SUNRPC_AUTH_GSS_H
#ifdef __KERNEL__ #ifdef __KERNEL__
#ifdef __linux__
#include <linux/sunrpc/auth.h> #include <linux/sunrpc/auth.h>
#include <linux/sunrpc/svc.h> #include <linux/sunrpc/svc.h>
#include <linux/sunrpc/gss_api.h> #include <linux/sunrpc/gss_api.h>
#endif
#define RPC_GSS_VERSION 1 #define RPC_GSS_VERSION 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment