From: Maxim Shchetynin Date: Tue, 1 Apr 2008 13:12:20 +0000 (+1100) Subject: [POWERPC] Fix rtas_flash procfs interface X-Git-Tag: v2.6.25-rc9~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7484839850d826e14b8b024bb048dca8489140ae;p=pandora-kernel.git [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 Signed-off-by: Jens Osterkamp Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed