···219 */220 for (idx = off = 0; off < mtd->size; off += mtd->erasesize) {221 struct image_info_struct iis;222- u_int iis_ptr, img_ptr, size;223224 /* Read the footer. */225 ret = afs_read_footer(mtd, &img_ptr, &iis_ptr, off, mask);···236 continue;237238 strcpy(str, iis.name);239- size = mtd->erasesize + off - img_ptr;240-241- /*242- * In order to support JFFS2 partitions on this layout,243- * we must lie to MTD about the real size of JFFS2244- * partitions; this ensures that the AFS flash footer245- * won't be erased by JFFS2. Please ensure that your246- * JFFS2 partitions are given image numbers between247- * 1000 and 2000 inclusive.248- */249- if (iis.imageNumber >= 1000 && iis.imageNumber < 2000)250- size -= mtd->erasesize;251252 parts[idx].name = str;253- parts[idx].size = size;254 parts[idx].offset = img_ptr;255 parts[idx].mask_flags = 0;256
···219 */220 for (idx = off = 0; off < mtd->size; off += mtd->erasesize) {221 struct image_info_struct iis;222+ u_int iis_ptr, img_ptr;223224 /* Read the footer. */225 ret = afs_read_footer(mtd, &img_ptr, &iis_ptr, off, mask);···236 continue;237238 strcpy(str, iis.name);000000000000239240 parts[idx].name = str;241+ parts[idx].size = (iis.length + mtd->erasesize - 1) & ~(mtd->erasesize - 1);242 parts[idx].offset = img_ptr;243 parts[idx].mask_flags = 0;244
+1-7
drivers/video/console/fbcon.c
···142#define CURSOR_DRAW_DELAY (1)143144/* # VBL ints between cursor state changes */145-#define ARM_CURSOR_BLINK_RATE (10)146#define ATARI_CURSOR_BLINK_RATE (42)147#define MAC_CURSOR_BLINK_RATE (32)148#define DEFAULT_CURSOR_BLINK_RATE (20)···287 release_console_sem();288}289290-#if (defined(__arm__) && defined(IRQ_VSYNCPULSE)) || defined(CONFIG_ATARI) || defined(CONFIG_MAC)291static int cursor_blink_rate;292static irqreturn_t fb_vbl_handler(int irq, void *dev_id, struct pt_regs *fp)293{···877 }878#endif /* CONFIG_MAC */879880-#if defined(__arm__) && defined(IRQ_VSYNCPULSE)881- cursor_blink_rate = ARM_CURSOR_BLINK_RATE;882- irqres = request_irq(IRQ_VSYNCPULSE, fb_vbl_handler, SA_SHIRQ,883- "framebuffer vbl", info);884-#endif885 /* Initialize the work queue. If the driver provides its886 * own work queue this means it will use something besides 887 * default timer to flash the cursor. */
···142#define CURSOR_DRAW_DELAY (1)143144/* # VBL ints between cursor state changes */0145#define ATARI_CURSOR_BLINK_RATE (42)146#define MAC_CURSOR_BLINK_RATE (32)147#define DEFAULT_CURSOR_BLINK_RATE (20)···288 release_console_sem();289}290291+#if defined(CONFIG_ATARI) || defined(CONFIG_MAC)292static int cursor_blink_rate;293static irqreturn_t fb_vbl_handler(int irq, void *dev_id, struct pt_regs *fp)294{···878 }879#endif /* CONFIG_MAC */88000000881 /* Initialize the work queue. If the driver provides its882 * own work queue this means it will use something besides 883 * default timer to flash the cursor. */
+3-1
include/asm-arm/system.h
···85void die(const char *msg, struct pt_regs *regs, int err)86 __attribute__((noreturn));8788-void die_if_kernel(const char *str, struct pt_regs *regs, int err);008990void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int,91 struct pt_regs *),
···85void die(const char *msg, struct pt_regs *regs, int err)86 __attribute__((noreturn));8788+struct siginfo;89+void notify_die(const char *str, struct pt_regs *regs, struct siginfo *info,90+ unsigned long err, unsigned long trap);9192void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int,93 struct pt_regs *),