summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/resource.h
diff options
context:
space:
mode:
authorMiguel Bernal Marin <miguel.bernal.marin@linux.intel.com>2017-09-25 18:03:49 -0500
committerIngo Molnar <mingo@kernel.org>2017-09-28 09:43:15 +0200
commit30c23f29d2d5e3ce8e24f7dec550b7e15142aaef (patch)
tree3a9d9b8461566d0309c4fe3594c55491b0753adb /include/asm-generic/resource.h
parent9cd6681cb1169e815c41af0265165dd1b872f228 (diff)
downloadtalos-obmc-linux-30c23f29d2d5e3ce8e24f7dec550b7e15142aaef.tar.gz
talos-obmc-linux-30c23f29d2d5e3ce8e24f7dec550b7e15142aaef.zip
locking/x86: Use named operands in rwsem.h
Since GCC version 3.1 it is possible to specify input and output operands using symbolic names, which can be referenced within the assembler code. Converting to named operands makes it easier to understand and maintain the code in the future. Update operands in asm/rwsem.h accordingly. Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20170925230349.18834-1-miguel.bernal.marin@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic/resource.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud