patch-2.4.22 linux-2.4.22/include/asm-s390x/idals.h

Next file: linux-2.4.22/include/asm-s390x/irq.h
Previous file: linux-2.4.22/include/asm-s390x/dasd.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-s390x/idals.h linux-2.4.22/include/asm-s390x/idals.h
@@ -217,7 +217,7 @@
  * Copy count bytes from an idal buffer to user memory
  */
 static inline size_t
-idal_buffer_to_user(struct idal_buffer *ib, void *to, size_t count)
+idal_buffer_to_user(const struct idal_buffer *ib, void *to, size_t count)
 {
 	size_t left;
 	int i;
@@ -238,7 +238,7 @@
  * Copy count bytes from user memory to an idal buffer
  */
 static inline size_t
-idal_buffer_from_user(struct idal_buffer *ib, void *from, size_t count)
+idal_buffer_from_user(struct idal_buffer *ib, const void *from, size_t count)
 {
 	size_t left;
 	int i;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)