Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 74848398 authored by Maxim Shchetynin's avatar Maxim Shchetynin Committed by Paul Mackerras
Browse files

[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: default avatarMaxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: default avatarJens Osterkamp <jens@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent b991f05f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment