#ifndef _LINUX_KD_H
#define _LINUX_KD_H
#include <linux/types.h>
+#include <linux/compiler.h>
/* 0x4B is 'K', to avoid collision with termios and vt */
struct consolefontdesc {
unsigned short charcount; /* characters in font (256 or 512) */
unsigned short charheight; /* scan lines per character (1-32) */
- char *chardata; /* font data in expanded form */
+ char __user *chardata; /* font data in expanded form */
};
#define PIO_FONTRESET 0x4B6D /* reset to default font */
};
struct unimapdesc {
unsigned short entry_ct;
- struct unipair *entries;
+ struct unipair __user *entries;
};
#define PIO_UNIMAP 0x4B67 /* put unicode-to-font mapping in kernel */
#define PIO_UNIMAPCLR 0x4B68 /* clear table, possibly advise hash algorithm */