x86: Mark __invalid_creds() __noreturn
[sfrench/cifs-2.6.git] / include / linux / cred.h
index fcbc6885cc0936ed9bbb25cf4bdcf4101b366f82..9ed9232af9340a7700dd6ed6ae8a12e07bab8592 100644 (file)
@@ -176,7 +176,7 @@ extern int set_cred_ucounts(struct cred *);
  * check for validity of credentials
  */
 #ifdef CONFIG_DEBUG_CREDENTIALS
-extern void __invalid_creds(const struct cred *, const char *, unsigned);
+extern void __noreturn __invalid_creds(const struct cred *, const char *, unsigned);
 extern void __validate_process_creds(struct task_struct *,
                                     const char *, unsigned);