um: Add compile time assert that stub fits on a page
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 19 Sep 2024 12:45:06 +0000 (14:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 10 Oct 2024 11:37:21 +0000 (13:37 +0200)
commit77eb31b6003a158cce534fa9ca9df21fc82672ea
treeab9827425eea1ea6c909e72502ba7a3e219c6f8f
parentfdb2ecd35d327a1fc6bba69b97f85b494e1f4b6b
um: Add compile time assert that stub fits on a page

The code assumes that the stub code can fit into a single page. This is
unlikely to ever change, but add a link time assert instead so that
there will be no hard to debug error.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20240919124511.282088-6-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/dyn.lds.S