Skip to content

Commit

Permalink
[DNM] cool hacks
Browse files Browse the repository at this point in the history
Change-Id: Ie93ac6b68aad31222fd23da2342e880f6911c338
  • Loading branch information
SebaUbuntu committed Apr 11, 2023
1 parent 343ff33 commit 9d8822a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/ratelimit.h
Expand Up @@ -6,8 +6,8 @@
#include <linux/sched.h>
#include <linux/spinlock.h>

#define DEFAULT_RATELIMIT_INTERVAL (5 * HZ)
#define DEFAULT_RATELIMIT_BURST 10
#define DEFAULT_RATELIMIT_INTERVAL (5000 * HZ)
#define DEFAULT_RATELIMIT_BURST 10000

/* issue num suppressed message on exit */
#define RATELIMIT_MSG_ON_RELEASE BIT(0)
Expand Down
1 change: 1 addition & 0 deletions kernel/reboot.c
Expand Up @@ -221,6 +221,7 @@ void kernel_restart(char *cmd)
else
pr_emerg("Restarting system with command '%s'\n", cmd);
kmsg_dump(KMSG_DUMP_RESTART);
panic("boo");
machine_restart(cmd);
}
EXPORT_SYMBOL_GPL(kernel_restart);
Expand Down

0 comments on commit 9d8822a

Please sign in to comment.