Maxim Shchetynin 7484839850 [POWERPC] Fix rtas_flash procfs interface
Handling of the proc_dir_entry->count was changed in 2.6.24-rc5.
After this change, the default value for pde->count is 1 and not 0 as
before.  Therefore, if we want to check whether our procfs file is
already opened (already in use), we have to check if pde->count is
greater than 2 rather than 1.

Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-03 22:11:11 +11:00
..
2007-05-11 05:38:25 -04:00
2007-10-19 23:22:55 +02:00
2008-01-25 22:52:50 +11:00
2008-03-07 08:42:28 -06:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2008-03-13 10:09:28 +11:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:55 -07:00
2008-01-28 23:21:18 +01:00
2007-10-11 14:36:47 +10:00
2008-02-06 10:41:00 -08:00