x86: return -EINVAL in __change_page_attr(), instead of 0
commitf5a50ce1bf53a07cb7d0bab1a87e62cc4f34f0ab
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:03 +0000 (30 13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:03 +0000 (30 13:34 +0100)
tree0fd0b5e96043070e2144a0785c5f89083e63d723
parent674d67269e79f6697c3480363b28c9b9934fa60c
x86: return -EINVAL in __change_page_attr(), instead of 0

careful: might change driver behavior - but this is the right
return value.

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