mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
x86: make early printk selectable on 64-bit as well
Enable CONFIG_EMBEDDED to select CONFIG_EARLY_PRINTK on 64-bit as well. saves ~2K: text data bss dec hex filename 7290283 3672091 1907848 12870222 c4624e vmlinux.before 7288373 3671795 1907848 12868016 c459b0 vmlinux.after Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
8866cd9dc9
commit
076f9776f5
6 changed files with 24 additions and 3 deletions
|
@ -194,6 +194,9 @@ static inline int log_buf_read(int idx) { return 0; }
|
|||
static inline int log_buf_copy(char *dest, int idx, int len) { return 0; }
|
||||
#endif
|
||||
|
||||
extern void __attribute__((format(printf, 1, 2)))
|
||||
early_printk(const char *fmt, ...);
|
||||
|
||||
unsigned long int_sqrt(unsigned long);
|
||||
|
||||
extern int printk_ratelimit(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue