Dan Gohman | 2d65d35 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
3 | typedef struct { unsigned long pgprot; } pgprot_t; | ||||
4 | |||||
5 | void split_large_page(unsigned long addr, pgprot_t prot) | ||||
6 | { | ||||
7 | (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot; | ||||
8 | } | ||||
9 |