public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86: loadflags cleanups
@ 2015-01-31  6:32 Alexander Kuleshov
  2015-01-31  6:32 ` [PATCH v2 1/2] x86: use already defined KEEP_SEGMENTS macro from bootparam.h Alexander Kuleshov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Kuleshov @ 2015-01-31  6:32 UTC (permalink / raw)
  To: Thomas Gleixner, H. Peter Anvin, Martin Mares, Ingo Molnar
  Cc: x86, linux-kernel

There are a couple macros in the arch/x86/include/uapi/asm/bootparam.h
for checking loadflags bits. Let's use it instead of shifting bits

Alexander Kuleshov (2):
  x86: use already defined KEEP_SEGMENTS macro from bootparam.h
  x86/boot: use already defined KEEP_SEGMENTS macro in head_{32,64}.S

 arch/x86/boot/compressed/head_32.S | 5 +++--
 arch/x86/boot/compressed/head_64.S | 3 ++-
 arch/x86/kernel/head_32.S          | 7 ++++---
 3 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.3.0-rc1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH v2 0/2] x86: loadflags cleanups
@ 2015-01-31  6:29 Alexander Kuleshov
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kuleshov @ 2015-01-31  6:29 UTC (permalink / raw)
  To: Chris Mason; +Cc: Josef Bacik, David Sterba, linux-kernel

There are a couple macros in the arch/x86/include/uapi/asm/bootparam.h
for checking loadflags bits. Let's use it instead of shifting bits

Alexander Kuleshov (2):
  x86: use already defined KEEP_SEGMENTS macro from bootparam.h
  x86/boot: use already defined KEEP_SEGMENTS macro in head_{32,64}.S

 arch/x86/boot/compressed/head_32.S | 5 +++--
 arch/x86/boot/compressed/head_64.S | 3 ++-
 arch/x86/kernel/head_32.S          | 7 ++++---
 3 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.3.0-rc1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-18 22:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-31  6:32 [PATCH v2 0/2] x86: loadflags cleanups Alexander Kuleshov
2015-01-31  6:32 ` [PATCH v2 1/2] x86: use already defined KEEP_SEGMENTS macro from bootparam.h Alexander Kuleshov
2015-01-31  6:33 ` [PATCH v2 2/2] x86/boot: use already defined KEEP_SEGMENTS macro in head_{32,64}.S Alexander Kuleshov
2015-02-18 22:06 ` [PATCH v2 0/2] x86: loadflags cleanups Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2015-01-31  6:29 Alexander Kuleshov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox