File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -328,13 +328,6 @@ extern int oops_may_print(void);
328
328
void do_exit (long error_code ) __noreturn ;
329
329
void complete_and_exit (struct completion * , long ) __noreturn ;
330
330
331
- #ifdef CONFIG_ARCH_HAS_REFCOUNT
332
- void refcount_error_report (struct pt_regs * regs , const char * err );
333
- #else
334
- static inline void refcount_error_report (struct pt_regs * regs , const char * err )
335
- { }
336
- #endif
337
-
338
331
/* Internal, do not use. */
339
332
int __must_check _kstrtoul (const char * s , unsigned int base , unsigned long * res );
340
333
int __must_check _kstrtol (const char * s , unsigned int base , long * res );
Original file line number Diff line number Diff line change @@ -671,17 +671,6 @@ EXPORT_SYMBOL(__stack_chk_fail);
671
671
672
672
#endif
673
673
674
- #ifdef CONFIG_ARCH_HAS_REFCOUNT
675
- void refcount_error_report (struct pt_regs * regs , const char * err )
676
- {
677
- WARN_RATELIMIT (1 , "refcount_t %s at %pB in %s[%d], uid/euid: %u/%u\n" ,
678
- err , (void * )instruction_pointer (regs ),
679
- current -> comm , task_pid_nr (current ),
680
- from_kuid_munged (& init_user_ns , current_uid ()),
681
- from_kuid_munged (& init_user_ns , current_euid ()));
682
- }
683
- #endif
684
-
685
674
core_param (panic , panic_timeout , int , 0644 );
686
675
core_param (panic_print , panic_print , ulong , 0644 );
687
676
core_param (pause_on_oops , pause_on_oops , int , 0644 );
You can’t perform that action at this time.
0 commit comments