diff options
author | John David Anglin <dave.anglin@bell.net> | 2013-10-05 18:55:36 +0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-10-13 19:45:40 +0400 |
commit | 2d8b22de6e5241a6f27f7f290f027223156a7d3f (patch) | |
tree | 6d81d56b2cae2f2b50acd1210222d036fddd22ae /net/bridge/br_sysfs_br.c | |
parent | 59b33f148cc08fb33cbe823fca1e34f7f023765e (diff) | |
download | linux-2d8b22de6e5241a6f27f7f290f027223156a7d3f.tar.xz |
parisc: optimize variable initialization in do_page_fault
The attached change defers the initialization of the variables tsk, mm
and flags until they are needed. As a result, the code won't crash if a
kernel probe is done with a corrupt context and the code will be better
optimized.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'net/bridge/br_sysfs_br.c')
0 files changed, 0 insertions, 0 deletions