]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/mm.h: simplify flag check
authorBorislav Petkov <bp@suse.de>
Tue, 7 Apr 2015 23:44:35 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:35 +0000 (09:44 +1000)
commit377a492963c48b02f7939872a3c71687c5f7d5aa
treec0d661c0cf615870aa90c53467184955d4dfd8d1
parent39cedc75b26343d2a4ef246ab0e80708006d9dba
include/linux/mm.h: simplify flag check

Flip the flag test so that it is the simplest.  No functional change, just
a small readability improvement:

No code changed:

  # arch/x86/kernel/sys_x86_64.o:

   text    data     bss     dec     hex filename
   1551      24       0    1575     627 sys_x86_64.o.before
   1551      24       0    1575     627 sys_x86_64.o.after

md5:
   70708d1b1ad35cc891118a69dc1a63f9  sys_x86_64.o.before.asm
   70708d1b1ad35cc891118a69dc1a63f9  sys_x86_64.o.after.asm

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h