Revision 7523c4dd9923cab748dad9b79d0165e118e3d03b authored by OGAWA Hirofumi on 03 January 2007, 16:21:28 UTC, committed by Linus Torvalds on 03 January 2007, 16:49:59 UTC
If caller passed the tsk, we should use it to validate a stack ptr.
Otherwise, sysrq-t and other debugging stuff doesn't work.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent b06b5a5
Raw File
sscape_ioctl.h
#ifndef SSCAPE_IOCTL_H
#define SSCAPE_IOCTL_H


struct sscape_bootblock
{
  unsigned char code[256];
  unsigned version;
};

#define SSCAPE_MICROCODE_SIZE  65536

struct sscape_microcode
{
  unsigned char __user *code;
};

#define SND_SSCAPE_LOAD_BOOTB  _IOWR('P', 100, struct sscape_bootblock)
#define SND_SSCAPE_LOAD_MCODE  _IOW ('P', 101, struct sscape_microcode)

#endif
back to top