Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138566
b: refs/heads/master
c: 097529f
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed Mar 24, 2009
1 parent f6904ea commit be07a00
Show file tree
Hide file tree
Showing 2 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: ebf0f334ddafeea628e0e048af7f09c440cafb50
refs/heads/master: 097529f34e9fee9487fded1aa002ea095be62371
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/sysdev/msi_bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void msi_bitmap_free(struct msi_bitmap *bmp)
#define check(x) \
if (!(x)) printk("msi_bitmap: test failed at line %d\n", __LINE__);

void test_basics(void)
void __init test_basics(void)
{
struct msi_bitmap bmp;
int i, size = 512;
Expand Down Expand Up @@ -186,7 +186,7 @@ void test_basics(void)
kfree(bmp.bitmap);
}

void test_of_node(void)
void __init test_of_node(void)
{
u32 prop_data[] = { 10, 10, 25, 3, 40, 1, 100, 100, 200, 20 };
const char *expected_str = "0-9,20-24,28-39,41-99,220-255";
Expand Down Expand Up @@ -234,7 +234,7 @@ void test_of_node(void)
kfree(bmp.bitmap);
}

int msi_bitmap_selftest(void)
int __init msi_bitmap_selftest(void)
{
printk(KERN_DEBUG "Running MSI bitmap self-tests ...\n");

Expand Down

0 comments on commit be07a00

Please sign in to comment.