patch-2.1.123 linux/include/linux/dcache.h

Next file: linux/include/linux/ext2_fs.h
Previous file: linux/include/linux/console_struct.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.122/linux/include/linux/dcache.h linux/include/linux/dcache.h
@@ -27,7 +27,7 @@
 #define init_name_hash()		0
 
 /* partial hash update function. Assume roughly 4 bits per character */
-static __inline__ unsigned long partial_name_hash(unsigned char c, unsigned long prevhash)
+static __inline__ unsigned long partial_name_hash(unsigned long c, unsigned long prevhash)
 {
 	prevhash = (prevhash << 4) | (prevhash >> (8*sizeof(unsigned long)-4));
 	return prevhash ^ c;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov