diff options
| author | Adrian Bunk <[email protected]> | 2008-06-05 22:46:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-06-06 11:29:13 -0700 |
| commit | ec0ced156f930aba24e7527905de294ad929ef65 (patch) | |
| tree | 76859c265a5fc345fa7568ae235e6118429ee4cb /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | 9bb91784de6618c955994b2d5be332fb68c87ef1 (diff) | |
asm-m32r/uaccess.h must #include <asm/setup.h>
This patch fixes the following compile error caused by
commit 4016a1390d07f15b267eecb20e76a48fd5c524ef
(mm/nommu.c: return 0 from kobjsize with invalid objects):
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/nommu.c: In function 'kobjsize':
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/nommu.c:112: error: 'memory_end' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/nommu.c:112: error: (Each undeclared identifier is reported only once
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/nommu.c:112: error: for each function it appears in.)
The patch also removes now no longer required memory_{start,end}
declarations inside access_ok().
Reported-by: Adrian Bunk <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Cc: Hirokazu Takata <[email protected]>
Cc: Michael Hennerich <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions