]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix for map-the-vsyscall-page-with-_page_user.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 16:28:37 +0000 (17:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 16:28:37 +0000 (17:28 +0100)
queue-4.4/map-the-vsyscall-page-with-_page_user.patch
queue-4.9/map-the-vsyscall-page-with-_page_user.patch

index f032ddf57fcad6e9922fac7c8b16a721a0466609..235620415c1fbffedb3fa57837d7f27844e214af 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  {
        return false;
  }
-+bool vsyscall_enabled(void) { return false; }
++static inline bool vsyscall_enabled(void) { return false; }
  #endif
  
  #endif /* _ASM_X86_VSYSCALL_H */
index e4f6e4571ae35c1d629b08e1ece115cd677ab8af..1b85895f9bb972ab3a520cb7f9fe6abed2e5b224 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  {
        return false;
  }
-+bool vsyscall_enabled(void) { return false; }
++static inline bool vsyscall_enabled(void) { return false; }
  #endif
  
  #endif /* _ASM_X86_VSYSCALL_H */