Эх сурвалжийг харах

Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull objtool fix from Ingo Molnar:
 "Addresses a false positive warning in the GPU/DRM code"

[ Technically it's not a "false positive", but it's the virtual GPU
  interface that needs the frame pointer for its own internal purposes ]

* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  objtool, drm/vmwgfx: Fix "duplicate frame pointer save" warning
Linus Torvalds 9 жил өмнө
parent
commit
94fcad6932

+ 3 - 1
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c

@@ -28,6 +28,7 @@
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
+#include <linux/frame.h>
 #include <asm/hypervisor.h>
 #include <asm/hypervisor.h>
 #include "drmP.h"
 #include "drmP.h"
 #include "vmwgfx_msg.h"
 #include "vmwgfx_msg.h"
@@ -194,7 +195,7 @@ static int vmw_send_msg(struct rpc_channel *channel, const char *msg)
 
 
 	return -EINVAL;
 	return -EINVAL;
 }
 }
-
+STACK_FRAME_NON_STANDARD(vmw_send_msg);
 
 
 
 
 /**
 /**
@@ -304,6 +305,7 @@ static int vmw_recv_msg(struct rpc_channel *channel, void **msg,
 
 
 	return 0;
 	return 0;
 }
 }
+STACK_FRAME_NON_STANDARD(vmw_recv_msg);
 
 
 
 
 /**
 /**