Commit 3970d19e authored by Anton Blanchard's avatar Anton Blanchard

Merge samba.org:/scratch/anton/linux-2.5

into samba.org:/scratch/anton/sfr
parents 518a829f 7d5bea38
This diff is collapsed.
...@@ -474,7 +474,7 @@ static int __init copy_e820_map(struct e820entry * biosmap, int nr_map) ...@@ -474,7 +474,7 @@ static int __init copy_e820_map(struct e820entry * biosmap, int nr_map)
#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE) #if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE)
unsigned char eddnr; unsigned char eddnr;
struct edd_info edd[EDDNR]; struct edd_info edd[EDDMAXNR];
/** /**
* copy_edd() - Copy the BIOS EDD information * copy_edd() - Copy the BIOS EDD information
* from empty_zero_page into a safe place. * from empty_zero_page into a safe place.
......
...@@ -165,7 +165,7 @@ struct edd_info { ...@@ -165,7 +165,7 @@ struct edd_info {
struct edd_device_params params; struct edd_device_params params;
} __attribute__ ((packed)); } __attribute__ ((packed));
extern struct edd_info edd[EDDNR]; extern struct edd_info edd[EDDMAXNR];
extern unsigned char eddnr; extern unsigned char eddnr;
#endif /*!__ASSEMBLY__ */ #endif /*!__ASSEMBLY__ */
......
...@@ -115,7 +115,8 @@ static inline int read_seqretry(const seqlock_t *sl, unsigned iv) ...@@ -115,7 +115,8 @@ static inline int read_seqretry(const seqlock_t *sl, unsigned iv)
({ local_irq_save(flags); read_seqbegin(lock); }) ({ local_irq_save(flags); read_seqbegin(lock); })
#define read_seqretry_irqrestore(lock, iv, flags) \ #define read_seqretry_irqrestore(lock, iv, flags) \
({int ret = read_seqretry(&(lock)->seq, iv); \ ({ \
int ret = read_seqretry(lock, iv); \
local_irq_restore(flags); \ local_irq_restore(flags); \
ret; \ ret; \
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment