summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 18:00:07 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 18:00:07 -0800
commitc37b3aca314d94297b0f6ce1fefdf18d8d6cece6 (patch)
tree32f56433d55616eb1decc95df2b525cc2455b4fb /include/linux
parent6db68906c1bb26066a32c8e5be0c523da41cf08f (diff)
v2.4.2 -> v2.4.2.1
- Chris Mason: reiserfs, another null bytes bug - Andrea Arkangeli: make SMP Athlon build - Alexander Zarochentcev: reiserfs directory fsync SMP locking fix - Jeff Garzik: PCI network driver updates - Alan Cox: continue merging - Ingo Molnar: fix RAID AUTORUN ioctl, scheduling improvements
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h5
-rw-r--r--include/linux/genhd.h5
-rw-r--r--include/linux/netdevice.h1
-rw-r--r--include/linux/pci.h3
-rw-r--r--include/linux/videodev.h3
5 files changed, 13 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index a5f4cddafaaf..2a51264b34fc 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -244,7 +244,7 @@ struct buffer_head {
struct buffer_head *b_reqnext; /* request queue */
struct buffer_head **b_pprev; /* doubly linked list of hash-queue */
- char * b_data; /* pointer to data block (512 byte) */
+ char * b_data; /* pointer to data block */
struct page *b_page; /* the page this bh is mapped to */
void (*b_end_io)(struct buffer_head *bh, int uptodate); /* I/O completion */
void *b_private; /* reserved for b_end_io */
@@ -504,6 +504,8 @@ extern spinlock_t files_lock;
extern int init_private_file(struct file *, struct dentry *, int);
+#define MAX_NON_LFS ((1UL<<31) - 1)
+
#define FL_POSIX 1
#define FL_FLOCK 2
#define FL_BROKEN 4 /* broken flock() emulation */
@@ -651,6 +653,7 @@ struct super_block {
unsigned char s_blocksize_bits;
unsigned char s_lock;
unsigned char s_dirt;
+ unsigned long long s_maxbytes; /* Max file size */
struct file_system_type *s_type;
struct super_operations *s_op;
struct dquot_operations *dq_op;
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 6cfe0bbb78c5..eaa63807af94 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -223,6 +223,11 @@ struct unixware_disklabel {
#endif /* CONFIG_UNIXWARE_DISKLABEL */
+#ifdef CONFIG_MINIX_SUBPARTITION
+# define MINIX_PARTITION 0x81 /* Minix Partition ID */
+# define MINIX_NR_SUBPARTITIONS 4
+#endif /* CONFIG_MINIX_SUBPARTITION */
+
#ifdef __KERNEL__
extern struct gendisk *gendisk_head; /* linked list of disks */
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 462091674065..420ea0cc51f3 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -630,7 +630,6 @@ extern void fddi_setup(struct net_device *dev);
extern void tr_setup(struct net_device *dev);
extern void fc_setup(struct net_device *dev);
extern void fc_freedev(struct net_device *dev);
-extern int ether_config(struct net_device *dev, struct ifmap *map);
/* Support for loadable net-drivers */
extern int register_netdev(struct net_device *dev);
extern void unregister_netdev(struct net_device *dev);
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 205abe61e428..715113f26d66 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -539,6 +539,9 @@ void pdev_sort_resources(struct pci_dev *, struct resource_list *, u32);
unsigned long pci_bridge_check_io(struct pci_dev *);
void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *),
int (*)(struct pci_dev *, u8, u8));
+#define HAVE_PCI_REQ_REGIONS 1
+int pci_request_regions(struct pci_dev *, char *);
+void pci_release_regions(struct pci_dev *);
/* New-style probing supporting hot-pluggable devices */
int pci_register_driver(struct pci_driver *);
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 7a73db598fa6..d10f7a5c0382 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -6,13 +6,12 @@
#ifdef __KERNEL__
-#if LINUX_VERSION_CODE >= 0x020100
#include <linux/poll.h>
-#endif
#include <linux/devfs_fs_kernel.h>
struct video_device
{
+ struct module *owner;
char name[32];
int type;
int hardware;