]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
x86: CPA return early when requested feature is not available
authorThomas Gleixner <tglx@linutronix.de>
Mon, 4 Feb 2008 15:48:06 +0000 (16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:48:06 +0000 (16:48 +0100)
commit331e406588dc90331753e6562e5e3757bb907eb8
treeeff21a6aee567367bc63f4b81ecf9b2582eed1ec
parent1c083eb2cbdd917149f6acaa55efca129d05c2a9
x86: CPA return early when requested feature is not available

Mask out the not supported bits (e.g. NX). If the clr/set masks
are empty after the mask return without changing anything.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c