Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9250
b: refs/heads/master
c: 79ae2cb
h: refs/heads/master
v: v3
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Sep 23, 2005
1 parent aa44437 commit cdbc5d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 46db4a42dd1190a311c2fb45106dfd0842c65a94
refs/heads/master: 79ae2cb856ed6a8c48f455d52d5ed5960c671e67
2 changes: 1 addition & 1 deletion trunk/arch/um/drivers/chan_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static struct chan *parse_chan(char *str, int pri, int device,
data = (*ops->init)(str, device, opts);
if(data == NULL) return(NULL);

chan = kmalloc(sizeof(*chan), GFP_KERNEL);
chan = kmalloc(sizeof(*chan), GFP_ATOMIC);
if(chan == NULL) return(NULL);
*chan = ((struct chan) { .list = LIST_HEAD_INIT(chan->list),
.primary = 1,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/um/kernel/sigio_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ static int setup_initial_poll(int fd)
{
struct pollfd *p;

p = um_kmalloc(sizeof(struct pollfd));
p = um_kmalloc_atomic(sizeof(struct pollfd));
if(p == NULL){
printk("setup_initial_poll : failed to allocate poll\n");
return(-1);
Expand Down

0 comments on commit cdbc5d6

Please sign in to comment.