From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751133AbbAaG3u (ORCPT ); Sat, 31 Jan 2015 01:29:50 -0500 Received: from mail-la0-f51.google.com ([209.85.215.51]:62661 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbbAaG3t (ORCPT ); Sat, 31 Jan 2015 01:29:49 -0500 From: Alexander Kuleshov To: Chris Mason Cc: Josef Bacik , David Sterba , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] x86: loadflags cleanups Date: Sat, 31 Jan 2015 12:29:35 +0600 Message-Id: <1422685775-5804-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.3.0-rc1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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