Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18008
b: refs/heads/master
c: 77a7533
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Linus Torvalds committed Jan 12, 2006
1 parent 321a15e commit 1241576
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf0501328674849f8becf6de16620067a0c2f1b5
refs/heads/master: 77a75333a3d16b830ccf47cf51d944655b015363
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ void handle_BUG(struct pt_regs *regs)

if (user_mode(regs))
return;
if (__copy_from_user(&f, (struct bug_frame *) regs->rip,
if (__copy_from_user(&f, (const void __user *) regs->rip,
sizeof(struct bug_frame)))
return;
if (f.filename >= 0 ||
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-x86_64/vsyscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ struct vxtime_data {
int mode;
};

#define hpet_readl(a) readl((void *)fix_to_virt(FIX_HPET_BASE) + a)
#define hpet_writel(d,a) writel(d, (void *)fix_to_virt(FIX_HPET_BASE) + a)
#define hpet_readl(a) readl((const void __iomem *)fix_to_virt(FIX_HPET_BASE) + a)
#define hpet_writel(d,a) writel(d, (void __iomem *)fix_to_virt(FIX_HPET_BASE) + a)

/* vsyscall space (readonly) */
extern struct vxtime_data __vxtime;
Expand Down

0 comments on commit 1241576

Please sign in to comment.