include/linux/atm.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
--- a/include/linux/atm.h	Thu Apr 09 12:06:38 2009 +0200
+++ b/include/linux/atm.h	Thu Apr 09 12:07:21 2009 +0200
@@ -231,10 +231,21 @@
  */
 
 struct atmif_sioc {
-    int number;
-    int length;
-    void __user *arg;
+	int number;
+	int length;
+	void __user *arg;
 };
 
+#ifdef __KERNEL__
+#ifdef CONFIG_COMPAT
+#include <linux/compat.h>
+struct compat_atmif_sioc {
+	int number;
+	int length;
+	compat_uptr_t arg;
+};
+#endif
+#endif
+
 typedef unsigned short atm_backend_t;
 #endif