--- /dev/null
+From 98e4cff73a18af27f0d40d0b0d37f105dfc1994a Mon Sep 17 00:00:00 2001
+From: maximilian attems <max@stro.at>
+Date: Wed, 16 May 2012 09:46:30 +0200
+Subject: IA64: Add cmpxchg.h to exported userspace headers
+
+From: maximilian attems <max@stro.at>
+
+commit 98e4cff73a18af27f0d40d0b0d37f105dfc1994a upstream.
+
+Fixes klibc build on ia64 after 85f8f7759e418c814ee2ceacf73eddb9bed39492.
+
+Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
+Signed-off-by: maximilian attems <max@stro.at>
+Signed-off-by: Tony Luck <tony.luck@intel.com>
+Cc: Ben Hutchings <ben@decadent.org.uk>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/ia64/include/asm/Kbuild | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/ia64/include/asm/Kbuild
++++ b/arch/ia64/include/asm/Kbuild
+@@ -1,6 +1,7 @@
+ include include/asm-generic/Kbuild.asm
+
+ header-y += break.h
++header-y += cmpxchg.h
+ header-y += fpu.h
+ header-y += gcc_intrin.h
+ header-y += ia64regs.h
drm-i915-always-use-rpnswreq-for-turbo-change-requests.patch
drm-i915-dp-flush-any-outstanding-work-to-turn-the-vdd-off.patch
drm-i915-enable-vdd-when-switching-off-the-edp-panel.patch
+ia64-add-cmpxchg.h-to-exported-userspace-headers.patch